-
Notifications
You must be signed in to change notification settings - Fork 3
/
gk.json
executable file
·40 lines (40 loc) · 1.11 KB
/
gk.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"service": {
"path": "internal/app/{{toSnakeCase .ServiceName}}/service",
"file_name": "service.go",
"interface_name": "{{toUpperFirstCamelCase .ServiceName}}Service",
"struct_name": "stub{{toCamelCase .ServiceName}}Service"
},
"middleware": {
"name": "middleware.go"
},
"endpoints": {
"path": "internal/app/{{toSnakeCase .ServiceName}}/endpoints",
"file_name": "endpoints.go",
"requests_file_name": "requests.go",
"responses_file_name": "responses.go"
},
"transports": {
"path": "internal/app/{{toSnakeCase .ServiceName}}/transports",
"file_name": "{{.TransportType}}.go"
},
"pb": {
"path": "pb/{{toSnakeCase .ServiceName}}"
},
"cmd": {
"path": "cmd/{{toSnakeCase .ServiceName}}",
"file_name": "main.go"
},
"custom_errors": {
"path": "internal/pkg/errors",
"file_name": "errors.go"
},
"custom_responses": {
"path": "internal/pkg/responses",
"responses_file_name": "responses.go",
"errors_file_name": "errors.go",
"decode_file_name": "decode.go",
"httpstatus_file_name": "httpstatus.go"
},
"default_transport": "http"
}