Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FieldMapping ¶
type FieldMapping struct {
Name string
ReadColDef *ReadColDef
WriteColDef *WriteColDef
FieldType types.Type
}
type ReadColDef ¶
type StructMapping ¶
type StructMapping struct {
// TargetName is the exported record name (e.g. "MyRecord")
TargetName string
MappingTypePackage string
MappingTypeName string
FieldMappings []FieldMapping
}
func BuildStructMapping ¶
func BuildStructMapping(mappingTypePackage string, mappingTypeName string, targetTypeName string) (*StructMapping, error)
type WriteColDef ¶
type WriteColDef struct {
Col string
}
Directories
¶
| Path | Synopsis |
|---|---|
|
repository
Code generated by construct, DO NOT EDIT.
|
Code generated by construct, DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.