Skip to content

Commit

Permalink
feat: 导表工具导出的 Golang 代码将携带配置名称签名
Browse files Browse the repository at this point in the history
  • Loading branch information
kercylan98 committed Jul 3, 2023
1 parent 3d9c8a3 commit 8576d0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planner/configexport/internal/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var full map[string]any
var (
{{range $index, $config := .Configs}}
// {{$config.Name}} {{$config.DisplayName}}
{{$config.Name}}Sign = "{{$config.Name}}"
{{$config.Name}} {{$config.GetVariable}}
_{{$config.Name}} {{$config.GetVariable}}
{{end}}
Expand Down

0 comments on commit 8576d0f

Please sign in to comment.