修改不能编辑代码注释 (#92)

* rename file and function name

* update comments of "code generate"
master
miaogaolin 4 years ago committed by GitHub
parent 5e6dcac734
commit 46995a4d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -1,4 +1,4 @@
// DO NOT EDIT, generated by goctl // Code generated by goctl. DO NOT EDIT.
package types package types
type AddReq struct { type AddReq struct {

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

@ -1,4 +1,4 @@
// DO NOT EDIT, generated by goctl // Code generated by goctl. DO NOT EDIT.
package types package types
type Response struct { type Response struct {

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

@ -1,4 +1,4 @@
// DO NOT EDIT, generated by goctl // Code generated by goctl. DO NOT EDIT.
package types package types
type Response struct { type Response struct {

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

@ -1,4 +1,4 @@
// DO NOT EDIT, generated by goctl // Code generated by goctl. DO NOT EDIT.
package types package types
type ExpandReq struct { type ExpandReq struct {

@ -17,7 +17,7 @@ import (
const ( const (
routesFilename = "routes.go" routesFilename = "routes.go"
routesTemplate = `// DO NOT EDIT, generated by goctl routesTemplate = `// Code generated by goctl. DO NOT EDIT.
package handler package handler
import ( import (

@ -16,7 +16,7 @@ import (
const ( const (
typesFile = "types.go" typesFile = "types.go"
typesTemplate = `// DO NOT EDIT, generated by goctl typesTemplate = `// Code generated by goctl. DO NOT EDIT.
package types{{if .containsTime}} package types{{if .containsTime}}
import ( import (
"time" "time"

@ -13,7 +13,7 @@ import (
) )
const ( const (
componentTemplate = `// DO NOT EDIT, generated by goctl componentTemplate = `// Code generated by goctl. DO NOT EDIT.
package com.xhb.logic.http.packet.{{.packet}}.model; package com.xhb.logic.http.packet.{{.packet}}.model;
import com.xhb.logic.http.DeProguardable; import com.xhb.logic.http.DeProguardable;

@ -12,7 +12,7 @@ import (
) )
const ( const (
componentsTemplate = `// DO NOT EDIT, generated by goctl componentsTemplate = `// Code generated by goctl. DO NOT EDIT.
{{.componentTypes}} {{.componentTypes}}
` `

Loading…
Cancel
Save