liujiandao
2023-09-23 bcbd47ebfa5cdb0762c2a33601dc68dd8dd564ec
1
2
3
4
5
6
7
8
9
package config
 
{{- if .HasGlobal }}
type {{ .PlugName }} struct {
    {{- range .Global }}
        {{ .Key }} {{ .Type }} {{- if ne .Desc "" }} // {{ .Desc }} {{ end -}}
    {{- end }}
}
{{ end -}}