Documentation
¶
Overview ¶
Package must contains helper functions that panic if they have errors.
Index ¶
- func Atoi(s string) int
- func Atoi64(s string) int64
- func FindStringSubmatch(rx *regexp.Regexp, s string, expectedLen int) []string
- func ForEachLineOfStreamedInput(f func(lineNum int, s string))
- func GetFullInput() []string
- func GetFullInputAsBytes() [][]byte
- func JSONMarshal(v any) []byte
- func JSONMarshalIndent(v any, prefix, indent string) []byte
- func ParseListOfNumbers(s, sep string) []int
- func ParseListOfNumbers64(s, sep string) []int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindStringSubmatch ¶
func GetFullInput ¶
func GetFullInput() []string
func GetFullInputAsBytes ¶
func GetFullInputAsBytes() [][]byte
func JSONMarshal ¶
func JSONMarshalIndent ¶
func ParseListOfNumbers ¶
func ParseListOfNumbers64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.