chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format * Update readme.md * Update head.go
This commit is contained in:
@@ -57,7 +57,7 @@ func NewUserModel(url, db, collection string, c cache.CacheConf) UserModel {
|
|||||||
|
|
||||||
#### usermodelgen.go
|
#### usermodelgen.go
|
||||||
```go
|
```go
|
||||||
// Code generated by goctl. DO NOT EDIT!
|
// Code generated by goctl. DO NOT EDIT.
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Code generated by goctl. DO NOT EDIT!
|
// Code generated by goctl. DO NOT EDIT.
|
||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package util
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// DoNotEditHead added to the beginning of a file to prompt the user not to edit
|
// DoNotEditHead added to the beginning of a file to prompt the user not to edit
|
||||||
DoNotEditHead = "// Code generated by goctl. DO NOT EDIT!"
|
DoNotEditHead = "// Code generated by goctl. DO NOT EDIT."
|
||||||
|
|
||||||
headTemplate = DoNotEditHead + `
|
headTemplate = DoNotEditHead + `
|
||||||
// Source: {{.source}}`
|
// Source: {{.source}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user