* rename file and function name * update comments of "code generate"
@ -1,4 +1,4 @@
// DO NOT EDIT, generated by goctl
// Code generated by goctl. DO NOT EDIT.
package handler
import (
package types
type AddReq struct {
type Response struct {
type ExpandReq struct {
@ -17,7 +17,7 @@ import (
const (
routesFilename = "routes.go"
routesTemplate = `// DO NOT EDIT, generated by goctl
routesTemplate = `// Code generated by goctl. DO NOT EDIT.
@ -16,7 +16,7 @@ import (
typesFile = "types.go"
typesTemplate = `// DO NOT EDIT, generated by goctl
typesTemplate = `// Code generated by goctl. DO NOT EDIT.
package types{{if .containsTime}}
"time"
@ -13,7 +13,7 @@ import (
)
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;
@ -12,7 +12,7 @@ import (
componentsTemplate = `// DO NOT EDIT, generated by goctl
componentsTemplate = `// Code generated by goctl. DO NOT EDIT.
{{.componentTypes}}
`