chore: update "DO NOT EDIT" format (#2559)

* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
master
foliet 2 years ago committed by GitHub
parent 9504d30049
commit 07128213d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,7 +57,7 @@ func NewUserModel(url, db, collection string, c cache.CacheConf) UserModel {
#### usermodelgen.go
```go
// Code generated by goctl. DO NOT EDIT!
// Code generated by goctl. DO NOT EDIT.
package model
import (

@ -1,4 +1,4 @@
// Code generated by goctl. DO NOT EDIT!
// Code generated by goctl. DO NOT EDIT.
package model
import (

@ -2,7 +2,7 @@ package util
const (
// 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 + `
// Source: {{.source}}`

Loading…
Cancel
Save