Skip to content

Commit

Permalink
improve TemplateGenCtrlController is comments and formats (#3065)
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git authored Oct 31, 2023
1 parent e42aa64 commit 9393072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/gf/internal/consts/consts_gen_ctrl_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -29,6 +29,7 @@ import (
`

const TemplateGenCtrlControllerNewFunc = `
type {CtrlName} struct{}
func {NewFuncName}() {InterfaceName} {
Expand Down

0 comments on commit 9393072

Please sign in to comment.