File tree Expand file tree Collapse file tree 9 files changed +644
-23
lines changed Expand file tree Collapse file tree 9 files changed +644
-23
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ name : Documentation
4
+ on :
5
+ push :
6
+ branches :
7
+ - main
8
+ paths :
9
+ - ' docs/**'
10
+ - ' .github/workflows/documentation.yml'
11
+ - ' mkdocs.yml'
12
+ pull_request :
13
+ branches :
14
+ - main
15
+ paths :
16
+ - ' docs/**'
17
+ - ' .github/workflows/documentation.yml'
18
+ - ' mkdocs.yml'
19
+
20
+ permissions :
21
+ contents : write
22
+
23
+ jobs :
24
+ deploy :
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ with :
29
+ fetch-depth : 0
30
+
31
+ - uses : actions/setup-python@v4
32
+ with :
33
+ python-version : ' 3.x'
34
+ cache : pip
35
+
36
+ - name : Install dependencies
37
+ run : |
38
+ pip install mkdocs-material
39
+ pip install mkdocs-git-revision-date-localized-plugin
40
+ pip install mkdocs-minify-plugin
41
+
42
+ - name : Deploy Documentation
43
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
44
+ run : |
45
+ git config --global user.name "github-actions[bot]"
46
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
47
+ mkdocs gh-deploy --force
48
+
49
+ - name : Build Documentation
50
+ if : github.event_name == 'pull_request'
51
+ run : mkdocs build
Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ repos:
12
12
- id : debug-statements
13
13
- id : check-yaml
14
14
files : .*\.(yaml|yml)$
15
+ exclude : docs/*
15
16
args : [--allow-multiple-documents]
16
17
- repo : https://github.com/adrienverge/yamllint.git
17
18
rev : v1.35.1
18
19
hooks :
19
20
- id : yamllint
20
21
files : \.(yaml|yml)$
21
22
types : [file, yaml]
22
- entry : yamllint --strict -f parsable
23
+ entry : yamllint -c ./.yamllint.yaml - -strict -f parsable
23
24
- repo : local
24
25
hooks :
25
26
- id : golangci-lint
Original file line number Diff line number Diff line change 1
1
{
2
2
"makefile.configureOnOpen" : false ,
3
3
"cSpell.words" : [
4
+ " arithmatex" ,
4
5
" asasalint" ,
5
6
" asciicheck" ,
6
7
" azuretools" ,
7
8
" benchmem" ,
9
+ " betterem" ,
8
10
" bidichk" ,
9
11
" bodyclose" ,
10
12
" canonicalheader" ,
11
13
" containedctx" ,
12
14
" contextcheck" ,
13
15
" copyloopvar" ,
16
+ " Cosentino" ,
14
17
" cyclop" ,
15
18
" daixiang" ,
16
19
" decorder" ,
28
31
" ewrap" ,
29
32
" fatcontext" ,
30
33
" fieldalignment" ,
34
+ " fontawesome" ,
31
35
" forbidigo" ,
32
36
" forcetypeassert" ,
37
+ " Francesco" ,
33
38
" funlen" ,
34
39
" ginkgolinter" ,
35
40
" GITVERSION" ,
61
66
" importas" ,
62
67
" inamedparam" ,
63
68
" ineffassign" ,
69
+ " inlinehilite" ,
64
70
" interfacebloat" ,
65
71
" intrange" ,
66
72
" ireturn" ,
73
+ " linenums" ,
67
74
" loggercheck" ,
68
75
" logrus" ,
76
+ " magiclink" ,
69
77
" maintidx" ,
70
78
" makezero" ,
79
+ " mkdocs" ,
71
80
" multierror" ,
72
81
" musttag" ,
73
82
" mvdan" ,
90
99
" promlinter" ,
91
100
" proto" ,
92
101
" protogetter" ,
102
+ " pygments" ,
103
+ " pymdownx" ,
93
104
" rowserrcheck" ,
94
105
" sirupsen" ,
95
106
" sloglint" ,
107
+ " smartsymbols" ,
96
108
" spancheck" ,
97
109
" sqlclosecheck" ,
98
110
" staticcheck" ,
99
111
" stdlib" ,
100
112
" stretchr" ,
101
113
" stylecheck" ,
114
+ " superfences" ,
115
+ " tasklist" ,
102
116
" tenv" ,
103
117
" testableexamples" ,
104
118
" testifylint" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -251,15 +251,9 @@ The package is designed with performance in mind:
251
251
# # Project Structure
252
252
253
253
` ` ` txt
254
- ├── cmd/ # Main applications
255
- │ └── app/ # Your application
256
- │ └── main.go # Application entry point
257
254
├── internal/ # Private code
258
- │ ├── pkg/ # Internal packages
259
- │ └── app/ # Application specific code
260
- ├── pkg/ # Public libraries
261
- ├── api/ # API contracts (proto files, OpenAPI specs)
262
- ├── configs/ # Configuration files
255
+ │ └── logger/ # Application specific code
256
+ ├── pkg/ # Public libraries)
263
257
├── scripts/ # Scripts for development
264
258
├── test/ # Additional test files
265
259
└── docs/ # Documentation
You can’t perform that action at this time.
0 commit comments