Skip to content

Commit

Permalink
修改不能编辑代码注释 (zeromicro#92)
Browse files Browse the repository at this point in the history
* rename file and function name

* update comments of "code generate"
  • Loading branch information
miaogaolin authored Sep 21, 2020
1 parent 5e6dcac commit 46995a4
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion example/bookstore/api/internal/handler/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/bookstore/api/internal/types/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/graceful/dns/api/handler/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/graceful/dns/api/types/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/graceful/etcd/api/handler/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/graceful/etcd/api/types/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/shorturl/api/internal/handler/routes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/shorturl/api/internal/types/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/goctl/api/gogen/genroutes.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

const (
routesFilename = "routes.go"
routesTemplate = `// DO NOT EDIT, generated by goctl
routesTemplate = `// Code generated by goctl. DO NOT EDIT.
package handler
import (
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/api/gogen/gentypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

const (
typesFile = "types.go"
typesTemplate = `// DO NOT EDIT, generated by goctl
typesTemplate = `// Code generated by goctl. DO NOT EDIT.
package types{{if .containsTime}}
import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/api/javagen/gencomponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
componentTemplate = `// DO NOT EDIT, generated by goctl
componentTemplate = `// Code generated by goctl. DO NOT EDIT.
package com.xhb.logic.http.packet.{{.packet}}.model;
import com.xhb.logic.http.DeProguardable;
Expand Down
2 changes: 1 addition & 1 deletion tools/goctl/api/tsgen/gencomponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
componentsTemplate = `// DO NOT EDIT, generated by goctl
componentsTemplate = `// Code generated by goctl. DO NOT EDIT.
{{.componentTypes}}
`
Expand Down

0 comments on commit 46995a4

Please sign in to comment.