Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPackage ¶ added in v0.0.4
func BuildPackage(cfg *PackageConfig) (*ast.Package, error)
BuildPackage builds the package with mappers
Types ¶
type OpaqueType ¶ added in v0.0.4
type OpaqueType struct {
Name_ string
}
func (*OpaqueType) BuildMapper ¶ added in v0.0.4
func (t *OpaqueType) BuildMapper(args ProviderList) (node.Node, error)
func (*OpaqueType) FindAccessor ¶ added in v0.0.4
func (t *OpaqueType) FindAccessor(name string, typeName string) string
func (*OpaqueType) IsPointer ¶ added in v0.0.4
func (t *OpaqueType) IsPointer() bool
func (*OpaqueType) Name ¶ added in v0.0.4
func (t *OpaqueType) Name() string
type PackageConfig ¶ added in v0.0.4
PackageConfig is a config for building package with mappers
type ProviderList ¶ added in v0.0.4
type ProviderList []Provider
func (ProviderList) FindAccessor ¶ added in v0.0.4
func (l ProviderList) FindAccessor(name string, typeName string) string
type StructType ¶ added in v0.0.4
type StructType struct { Name_ string IsPointer_ bool Fields ProviderList Getters ProviderList }
func (*StructType) BuildMapper ¶ added in v0.0.4
func (t *StructType) BuildMapper(args ProviderList) (node.Node, error)
func (*StructType) FindAccessor ¶ added in v0.0.4
func (t *StructType) FindAccessor(name string, typeName string) string
func (*StructType) IsPointer ¶ added in v0.0.4
func (t *StructType) IsPointer() bool
func (*StructType) Name ¶ added in v0.0.4
func (t *StructType) Name() string
Click to show internal directories.
Click to hide internal directories.