diff --git a/cmd/gf/internal/consts/consts_gen_ctrl_template.go b/cmd/gf/internal/consts/consts_gen_ctrl_template.go index a51786dda3b..626adf44cb2 100644 --- a/cmd/gf/internal/consts/consts_gen_ctrl_template.go +++ b/cmd/gf/internal/consts/consts_gen_ctrl_template.go @@ -17,7 +17,7 @@ package {Module} const TemplateGenCtrlControllerNewEmpty = ` // ================================================================================= -// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. +// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish. // ================================================================================= package {Module} @@ -29,6 +29,7 @@ import ( ` const TemplateGenCtrlControllerNewFunc = ` + type {CtrlName} struct{} func {NewFuncName}() {InterfaceName} {