Documentation ¶
Index ¶
- func Decode(optionPkgs map[string]string, module *packages.Module, ...) (result map[string]*Module, err error)
- type ArrayType
- type BasicType
- func (t BasicType) BitSize() string
- func (t BasicType) IsAnyFloat() bool
- func (t BasicType) IsAnyInt() bool
- func (t BasicType) IsAnyUint() bool
- func (t BasicType) IsBool() bool
- func (t BasicType) IsByte() bool
- func (t BasicType) IsFloat32() bool
- func (t BasicType) IsFloat64() bool
- func (t BasicType) IsInt() bool
- func (t BasicType) IsInt16() bool
- func (t BasicType) IsInt32() bool
- func (t BasicType) IsInt64() bool
- func (t BasicType) IsInt8() bool
- func (t BasicType) IsNumeric() bool
- func (t BasicType) IsString() bool
- func (t BasicType) IsUint() bool
- func (t BasicType) IsUint16() bool
- func (t BasicType) IsUint32() bool
- func (t BasicType) IsUint64() bool
- func (t BasicType) IsUint8() bool
- type BoolValue
- type Decoder
- type ExprStringValue
- type FuncType
- type FuncTypeValue
- type IfaceType
- type Inject
- type Int64Value
- type IntValue
- type MapType
- type Module
- type ModuleType
- type NamedType
- type PackageType
- type PositionType
- type Result
- type SelectorType
- type SignType
- type SliceStringValue
- type SliceType
- type String
- type StringValue
- type StructFieldType
- type StructType
- type VarType
- type VarsType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicType ¶
func NewInt64Type ¶ added in v3.0.25
func NewInt64Type() *BasicType
func NewStringType ¶ added in v3.0.26
func NewStringType() *BasicType
func (BasicType) IsAnyFloat ¶
type ExprStringValue ¶
type ExprStringValue struct {
Value interface{}
}
func (ExprStringValue) IsValid ¶
func (v ExprStringValue) IsValid() bool
func (ExprStringValue) Take ¶
func (v ExprStringValue) Take() string
type FuncType ¶
type FuncTypeValue ¶
type FuncTypeValue struct {
Value *FuncType
}
type Inject ¶
type Inject struct { Pkg *PackageType BasePath string Option map[string]interface{} }
type Int64Value ¶
type Int64Value struct {
Value *int64
}
func (Int64Value) IsValid ¶
func (v Int64Value) IsValid() bool
func (Int64Value) Take ¶
func (v Int64Value) Take() int64
type ModuleType ¶
type NamedType ¶
type PackageType ¶
type PackageType struct { Name string Path string Module *ModuleType Types *stdtypes.Package }
type PositionType ¶
type SelectorType ¶
type SelectorType struct { Sel interface{} X interface{} }
type SliceStringValue ¶
type SliceStringValue struct {
Value []string
}
type StringValue ¶
type StringValue struct {
Value *string
}
func (StringValue) IsValid ¶
func (v StringValue) IsValid() bool
func (StringValue) Take ¶
func (v StringValue) Take() string
type StructFieldType ¶
type StructType ¶
type StructType struct { Fields []*StructFieldType IsPointer bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.