✨ Init
This commit is contained in:
8
resource/plug_template/global/global.go.tpl
Normal file
8
resource/plug_template/global/global.go.tpl
Normal file
@@ -0,0 +1,8 @@
|
||||
package global
|
||||
|
||||
{{- if .HasGlobal }}
|
||||
|
||||
import "miniapp/plugin/{{ .Snake}}/config"
|
||||
|
||||
var GlobalConfig = new(config.{{ .PlugName}})
|
||||
{{ end -}}
|
Reference in New Issue
Block a user