Documentation ¶
Index ¶
Constants ¶
View Source
const GinctlV100ReleaseTime = "g202105261512"
View Source
const TabIndentWith4Space = " "
View Source
const TabIndentWith8Space = " "
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Constant ¶
type Constant struct { Name string Group []string Value ConstantValue }
type ConstantValue ¶
type ConstantValue struct {
// contains filtered or unexported fields
}
type Generator ¶
type Generator struct { *bytes.Buffer FileName string APIName string APIDecls map[string]*APIDecl RequestDecls []*StructType ResponseDecls []*StructType GeneralDecls []*StructType Log log.Logger Constants []*Constant ImportMap map[string]string // contains filtered or unexported fields }
func NewGenerator ¶
type Option ¶
type Option func(g *Generator)
func WithLogger ¶
func WithPublish ¶
func WithWorkDir ¶
Click to show internal directories.
Click to hide internal directories.