Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update "DO NOT EDIT" format #2559

Merged
merged 3 commits into from Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/goctl/model/mongo/readme.md
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/model/mongo/template/model.tpl
@@ -1,4 +1,4 @@
// Code generated by goctl. DO NOT EDIT!
// Code generated by goctl. DO NOT EDIT.
package model

import (
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/util/head.go
Expand Up @@ -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}}`
Expand Down