mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve TemplateGenCtrlController is comments and formats (#3065)
This commit is contained in:
@ -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} {
|
||||
|
||||
Reference in New Issue
Block a user