fix
wangpengfei
2023-08-28 aa3bc269e46d82bdd6d088e5d07babd2d3b493a1
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 -}}