Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdFlagInclude = "include" CmdFlagThread = "thread" CmdFlagOnlyError = "error" )
View Source
const ( PackageRegexp = `^package\s[a-zA-Z_][0-9a-zA-Z_]*$` LineCommentRegexp = `\/\/` MutLineCommentStartRegexp = `\/\*` MutLineCommentEndRegexp = `\*\/` InitFunctionRegexp = `^func\sinit\(\)\s\{$` HessianImportRegexp = `"github.com/apache/dubbo-go-hessian2"` HessianPOJORegexp = `\*[0-9a-zA-Z_]+\)\sJavaClassName\(\)\sstring\s\{$` HessianPOJONameRegexp = `\*[0-9a-zA-Z_]+\)` )
View Source
const (
TargetFileSuffix = ".go"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
Click to show internal directories.
Click to hide internal directories.