diff --git a/example/bookstore/api/internal/handler/routes.go b/example/bookstore/api/internal/handler/routes.go index 5ff3eb90..651305e8 100644 --- a/example/bookstore/api/internal/handler/routes.go +++ b/example/bookstore/api/internal/handler/routes.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package handler import ( diff --git a/example/bookstore/api/internal/types/types.go b/example/bookstore/api/internal/types/types.go index 4e341616..a7bf3c2d 100644 --- a/example/bookstore/api/internal/types/types.go +++ b/example/bookstore/api/internal/types/types.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package types type AddReq struct { diff --git a/example/graceful/dns/api/handler/routes.go b/example/graceful/dns/api/handler/routes.go index 67db4faf..4b5c900b 100644 --- a/example/graceful/dns/api/handler/routes.go +++ b/example/graceful/dns/api/handler/routes.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package handler import ( diff --git a/example/graceful/dns/api/types/types.go b/example/graceful/dns/api/types/types.go index 5143ec78..cb22125d 100644 --- a/example/graceful/dns/api/types/types.go +++ b/example/graceful/dns/api/types/types.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package types type Response struct { diff --git a/example/graceful/etcd/api/handler/routes.go b/example/graceful/etcd/api/handler/routes.go index 6471488c..6b3d605d 100644 --- a/example/graceful/etcd/api/handler/routes.go +++ b/example/graceful/etcd/api/handler/routes.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package handler import ( diff --git a/example/graceful/etcd/api/types/types.go b/example/graceful/etcd/api/types/types.go index 5143ec78..cb22125d 100644 --- a/example/graceful/etcd/api/types/types.go +++ b/example/graceful/etcd/api/types/types.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package types type Response struct { diff --git a/example/shorturl/api/internal/handler/routes.go b/example/shorturl/api/internal/handler/routes.go index 8fb94695..6384a84e 100644 --- a/example/shorturl/api/internal/handler/routes.go +++ b/example/shorturl/api/internal/handler/routes.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package handler import ( diff --git a/example/shorturl/api/internal/types/types.go b/example/shorturl/api/internal/types/types.go index 47bf216e..3ae348c1 100644 --- a/example/shorturl/api/internal/types/types.go +++ b/example/shorturl/api/internal/types/types.go @@ -1,4 +1,4 @@ -// DO NOT EDIT, generated by goctl +// Code generated by goctl. DO NOT EDIT. package types type ExpandReq struct { diff --git a/tools/goctl/api/gogen/genroutes.go b/tools/goctl/api/gogen/genroutes.go index e77787b2..4e745626 100644 --- a/tools/goctl/api/gogen/genroutes.go +++ b/tools/goctl/api/gogen/genroutes.go @@ -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 ( diff --git a/tools/goctl/api/gogen/gentypes.go b/tools/goctl/api/gogen/gentypes.go index 40980187..65f0a724 100644 --- a/tools/goctl/api/gogen/gentypes.go +++ b/tools/goctl/api/gogen/gentypes.go @@ -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" diff --git a/tools/goctl/api/javagen/gencomponents.go b/tools/goctl/api/javagen/gencomponents.go index 79a646d3..dac2aa2e 100644 --- a/tools/goctl/api/javagen/gencomponents.go +++ b/tools/goctl/api/javagen/gencomponents.go @@ -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; diff --git a/tools/goctl/api/tsgen/gencomponents.go b/tools/goctl/api/tsgen/gencomponents.go index 8a5d1d7a..0606eb82 100644 --- a/tools/goctl/api/tsgen/gencomponents.go +++ b/tools/goctl/api/tsgen/gencomponents.go @@ -12,7 +12,7 @@ import ( ) const ( - componentsTemplate = `// DO NOT EDIT, generated by goctl + componentsTemplate = `// Code generated by goctl. DO NOT EDIT. {{.componentTypes}} `