Documentation
¶
Index ¶
- func AsInt(inputs any, key string) int
- func AsIntSlice(inputs any, key string) []int
- func AsSliceSlice(inputs any, key string) [][]any
- func AsString(inputs any, key string) string
- func AsStringSlice(inputs any, key string) []string
- func InputsAsIntSlice(inputs any) []int
- func InputsAsStringSlice(inputs any) []string
- func JSONEncode(inputs any) string
- func RunWeeklyChallenge(runSolution func(inputs any) (string, error), inputsExample string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsIntSlice ¶
extract an attribute as a slice of ints
func AsSliceSlice ¶ added in v1.0.11
extract an attribute as a slice of slices of any
func AsStringSlice ¶ added in v1.0.9
extract an attribute as a slice of strings
func InputsAsIntSlice ¶ added in v1.0.7
entire inputs as a slice of ints
func InputsAsStringSlice ¶ added in v1.0.8
entire inputs as a slice of strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.