Versions in this module Expand all Collapse all v0 v0.0.8 Nov 5, 2021 v0.0.7 Nov 5, 2021 Changes in this version + var ErrConfigMapNotFound = errors.New(`"map" node not found in config`) + var ErrEmptRightField = errors.New("right field is empty") + var ErrEmptyLeftField = errors.New("left field is empty") + var ErrEmptyLeftType = errors.New("left type is empty") + var ErrEmptyRightType = errors.New("right type is empty") + var ErrEmptyTag = errors.New("empty tag") + var ErrIncorectDestParam = errors.New(`incorrect destination, ` + format) + var ErrIncorectSourceParam = errors.New(`incorrect source, ` + format) + func Run(src, dst string, sourceTag string, validDstTags string, outputDir string, ...) (string, []byte, error) + type Field struct + IsPointer bool + Ord uint8 + Tags Tags + Type types.Type + func (fi Field) String() string + type FieldConfig struct + AllMatched bool + FieldMap map[string]string + func LoadFieldConfigMap(path string) (*FieldConfig, error) + type Fields map[string]Field + func Lookup(f *File, name string) (Fields, error) + func (s Fields) String() string + type File struct + Package string + Structs map[string]Fields + func Parse(path string, tags []string) (*File, error) + type Tags map[string]string