Documentation ¶
Index ¶
- Constants
- func CreateCommands()
- type DetailedError
- type ErrorMessage
- type FieldTags
- type FieldType
- type FieldTypeArray
- type FieldTypeIdent
- type FieldTypeImport
- type FieldTypeInfo
- type FieldTypeMap
- type InfoMessage
- type ParseInfo
- type Parser
- type StructField
- type StructType
- type TypeTags
- type WarningMessage
Constants ¶
View Source
const SUFFIX = ".vgen.go"
Variables ¶
This section is empty.
Functions ¶
func CreateCommands ¶
func CreateCommands()
Types ¶
type DetailedError ¶ added in v0.1.2
type DetailedError struct {
// contains filtered or unexported fields
}
func (DetailedError) Error ¶ added in v0.1.2
func (e DetailedError) Error() string
type ErrorMessage ¶ added in v0.1.3
type ErrorMessage struct {
// contains filtered or unexported fields
}
func (ErrorMessage) Format ¶ added in v0.1.3
func (g ErrorMessage) Format(detailed bool) string
type FieldTypeArray ¶
type FieldTypeArray struct{}
func (FieldTypeArray) Type ¶
func (f FieldTypeArray) Type() string
type FieldTypeIdent ¶
type FieldTypeIdent struct {
// contains filtered or unexported fields
}
func (FieldTypeIdent) Type ¶
func (f FieldTypeIdent) Type() string
type FieldTypeImport ¶
type FieldTypeImport struct {
// contains filtered or unexported fields
}
func (FieldTypeImport) Type ¶
func (f FieldTypeImport) Type() string
type FieldTypeInfo ¶
type FieldTypeMap ¶
type FieldTypeMap struct{}
func (FieldTypeMap) Type ¶
func (f FieldTypeMap) Type() string
type InfoMessage ¶ added in v0.1.3
type InfoMessage struct {
// contains filtered or unexported fields
}
func (InfoMessage) Format ¶ added in v0.1.3
func (g InfoMessage) Format() string
type ParseInfo ¶
type ParseInfo struct { Package string StructTypes []StructType Imports map[string]string }
type Parser ¶ added in v0.1.3
type Parser struct {
// contains filtered or unexported fields
}
func (Parser) CurrentLine ¶ added in v0.1.3
type StructField ¶
type StructField struct { Name string Types []FieldType Tags string Alias string Nested bool Pointer bool Import string }
func (StructField) Type ¶
func (s StructField) Type() string
type StructType ¶
type StructType struct { Name string Fields []StructField }
type WarningMessage ¶ added in v0.1.3
type WarningMessage struct {
// contains filtered or unexported fields
}
func (WarningMessage) Format ¶ added in v0.1.3
func (g WarningMessage) Format() string
Click to show internal directories.
Click to hide internal directories.