feat(test): adding tests for the "File" struct
feat(test): moving util funcs into utils module
This commit is contained in:
13
data/templates/go-test-go.tpl
Normal file
13
data/templates/go-test-go.tpl
Normal file
@ -0,0 +1,13 @@
|
||||
### Go template test ###
|
||||
{{ if .Vars.AuthEnabled }}
|
||||
auth_enabled: true
|
||||
{{ else }}
|
||||
auth_enabled: false
|
||||
{{ end }}
|
||||
|
||||
server:
|
||||
http_listen_port: {{ .Vars.HTTPPort }}
|
||||
grpc_listen_port: {{ .Vars.GRPCPort }}
|
||||
log_level: {{ .Vars.LogLevel }}
|
||||
|
||||
### End Go template test ###
|
Reference in New Issue
Block a user