Documentation ¶
Index ¶
- func CreateCommands()
- type CleanedFileError
- type CleanedFileInfo
- type CleanedFileWarning
- type DetailedError
- type FieldTags
- type FieldType
- type FieldTypeArray
- type FieldTypeIdent
- type FieldTypeImport
- type FieldTypeInfo
- type FieldTypeMap
- type GeneratedFileError
- type GeneratedFileInfo
- type GeneratedFileWarning
- type ParseInfo
- type StructField
- type StructType
- type TypeTags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommands ¶
func CreateCommands()
Types ¶
type CleanedFileError ¶ added in v0.1.2
type CleanedFileError struct {
// contains filtered or unexported fields
}
func (CleanedFileError) Format ¶ added in v0.1.2
func (c CleanedFileError) Format(detailed bool) string
type CleanedFileInfo ¶ added in v0.1.2
type CleanedFileInfo struct {
// contains filtered or unexported fields
}
func (CleanedFileInfo) Format ¶ added in v0.1.2
func (c CleanedFileInfo) Format() string
type CleanedFileWarning ¶ added in v0.1.2
type CleanedFileWarning struct {
// contains filtered or unexported fields
}
func (CleanedFileWarning) Format ¶ added in v0.1.2
func (c CleanedFileWarning) Format() string
type DetailedError ¶ added in v0.1.2
type DetailedError struct {
// contains filtered or unexported fields
}
func NewDetailedError ¶ added in v0.1.2
func NewDetailedError(err error, trace string) DetailedError
func NewInternalError ¶ added in v0.1.2
func NewInternalError(err error) DetailedError
func (DetailedError) Error ¶ added in v0.1.2
func (e DetailedError) Error() 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 GeneratedFileError ¶ added in v0.1.2
type GeneratedFileError struct {
// contains filtered or unexported fields
}
func (GeneratedFileError) Format ¶ added in v0.1.2
func (g GeneratedFileError) Format(detailed bool) string
type GeneratedFileInfo ¶ added in v0.1.2
type GeneratedFileInfo struct {
// contains filtered or unexported fields
}
func (GeneratedFileInfo) Format ¶ added in v0.1.2
func (g GeneratedFileInfo) Format() string
type GeneratedFileWarning ¶ added in v0.1.2
type GeneratedFileWarning struct {
// contains filtered or unexported fields
}
func (GeneratedFileWarning) Format ¶ added in v0.1.2
func (g GeneratedFileWarning) Format() string
type ParseInfo ¶
type ParseInfo struct { Package string StructTypes []StructType Imports map[string]string }
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 }
Click to show internal directories.
Click to hide internal directories.