typemap

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL