Documentation ¶
Index ¶
- Constants
- func FindTypePackageFile(typeName string, fileSet *token.FileSet, pkgs c.ForLoop[*packages.Package]) (*types.Named, *packages.Package, *ast.File, error)
- func GetStructType(t types.Type) (*types.Struct, int)
- func GetStructTypeNamed(typ types.Type) (*types.Named, int)
- func GetTypeNamed(typ types.Type) (*types.Named, int)
- func ObjectString(obj types.Object, outPkgPath string) string
- func TypeString(typ types.Type, outPkgPath string) string
- type FieldName
- type FieldType
- type Model
- type Package
- type TagName
- type TagValue
Constants ¶
View Source
const KeyValueSeparator = ":"
View Source
const ListValuesSeparator = ","
View Source
const ReplaceableValueSeparator = "="
Variables ¶
This section is empty.
Functions ¶
func FindTypePackageFile ¶ added in v0.0.2
Types ¶
Click to show internal directories.
Click to hide internal directories.