Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActionName = "codegen" ActionNameAlias = "cgen" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File holds a single parsed file and associated data.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator holds the state of the analysis. Primarily used to buffer the output for format.Source.
func NewGenerator ¶
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
Package defines options for package.
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value represents a declared constant.
func (*Value) ParseComment ¶
ParseComment parse comment to http code and error code description.
Click to show internal directories.
Click to hide internal directories.