Documentation ¶ Index ¶ func ResolveType(mapping string, field *types.Field) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ResolveType ¶ func ResolveType(mapping string, field *types.Field) (string, error) ResolveType evaluates a type mapping string against a field. If the mapping contains Go template syntax ({{ }}), it is executed with the field as data. Otherwise the string is returned as-is. Types ¶ This section is empty. Source Files ¶ View all Source files resolve.go Click to show internal directories. Click to hide internal directories.