Documentation ¶
Index ¶
- func Btoi[T int64 | int32 | int](s string) T
- func CopyList[T any](l []T) []T
- func CopyMap[K comparable, V any](m map[K]V) map[K]V
- func GetInput(day int) string
- func NewBoolMatrix(width, height int) map[int]map[int]bool
- func NumberList(in string, separator string) []int
- func ParseInt[T int64 | int32 | int](s string) T
- func ReadInput(in, splitBy string) []string
- func RegexCaptureGroups(re *regexp.Regexp, input string) []map[string]string
- func RegexSubexps(re *regexp.Regexp, input string) []string
- func Reverse(s string) string
- func Str2Int(in string) int
- func Str2IntSlice(in []string) []int
- func WithProfiling() func()
- func WithTime() func()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMap ¶
func CopyMap[K comparable, V any](m map[K]V) map[K]V
func NumberList ¶
func RegexCaptureGroups ¶
func Str2IntSlice ¶
func WithProfiling ¶
func WithProfiling() func()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.