cli

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 FieldTags

type FieldTags struct {
	// contains filtered or unexported fields
}

type FieldType

type FieldType interface {
	Type() 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 FieldTypeInfo struct {
	Types     []FieldType
	Pointer   bool
	Primitive bool
	Import    string
}

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
}

type TypeTags

type TypeTags struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL