forked from kujtimiihoxha/gk
-
Notifications
You must be signed in to change notification settings - Fork 7
/
gk.json
32 lines (32 loc) · 894 Bytes
/
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
{
"service":{
"path":"{{toSnakeCase .ServiceName}}\\pkg\\{{toSnakeCase .ServiceName}}service",
"file_name":"service.go",
"interface_name":"Service",
"struct_name":"basicService"
},
"middleware":{
"name":"middleware.go"
},
"endpoints":{
"path":"{{toSnakeCase .ServiceName}}\\pkg\\{{toSnakeCase .ServiceName}}endpoint",
"file_name":"set.go"
},
"httptransport":{
"path":"{{toSnakeCase .ServiceName}}\\pkg\\{{toSnakeCase .ServiceName}}transport",
"file_name":"http.go",
"test_file_name":"http_test.go"
},
"grpctransport":{
"path":"{{toSnakeCase .ServiceName}}\\pkg\\{{toSnakeCase .ServiceName}}transport",
"file_name":"grpc.go"
},
"pb":{
"path":"{{toSnakeCase .ServiceName}}\\{{toSnakeCase .ServiceName}}pb"
},
"cmd":{
"path":"cmd\\{{toSnakeCase .ServiceName}}",
"file_name":"main.go"
},
"default_transport":"http"
}