Versions in this module Expand all Collapse all v1 v1.0.0 Mar 23, 2024 Changes in this version + func IndiciesOfChar(input string, char rune) []int + func IntMax(a int, b int) int + func IntMin(a int, b int) int + func ModAdd(value int, accumulator int, base int) (int, int) + type Logger interface + Debugf func(format string, args ...interface{}) + Infof func(format string, args ...interface{}) + type NoOpLogger struct + func (NoOpLogger) Debugf(format string, args ...interface{}) + func (NoOpLogger) Infof(format string, args ...interface{}) + type TestLogger struct + TestPrefix string + Tester *testing.T + func (logger TestLogger) Debugf(format string, args ...interface{}) + func (logger TestLogger) Infof(format string, args ...interface{}) + type ZipResult struct + First R + Second R + func Zip[R any](input1 []R, input2 []R, emptyMaker func() R) []ZipResult[R]