✨ Init
This commit is contained in:
9
resource/plug_template/config/config.go.tpl
Normal file
9
resource/plug_template/config/config.go.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
{{- if .HasGlobal }}
|
||||
type {{ .PlugName }} struct {
|
||||
{{- range .Global }}
|
||||
{{ .Key }} {{ .Type }} {{- if ne .Desc "" }} // {{ .Desc }} {{ end -}}
|
||||
{{- end }}
|
||||
}
|
||||
{{ end -}}
|
Reference in New Issue
Block a user