zhangqian
2023-08-28 4af9a94256e5109a6b09a6e3e61f72c43e80db50
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 -}}