Documentation ¶
Overview ¶
Package strconv contains code generation staff related to github.com/goaltools/goal/strconv package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedType = errors.New("unsupported type")
ErrUnsupportedType is an error that indicates that there is no conversion function for the requested type.
Functions ¶
This section is empty.
Types ¶
type FnMap ¶
FnMap is a mapping between type names and appropriate conversion functions.
func Context ¶
func Context() FnMap
Context returns mappings between types that can be parsed using strconv package and functions for that conversions. All conversion functions meet the following criteria: 1. They are exported. 2. They expect 3 arguments: url.Values, string, ...int. 3. They return 1 argument. This is useful for code generation.
Click to show internal directories.
Click to hide internal directories.