Versions in this module Expand all Collapse all v1 v1.4.2 Sep 22, 2024 v1.4.1 Sep 22, 2024 Changes in this version + func AlmostEqual(a, b float64) bool + func HamiltonAllocation(counts []int, alloc int) []int + func IPow(a, b int) int + func If(statement bool, a, b interface{}) interface + func LStripByte(data []byte, s byte) []byte + func LimitTo(a, v, b int) int + func Map(vs []string, f func(string) string) []string + func Max(i int, js ...int) int + func Min(i int, js ...int) int + func OptionString(opt IOption) string + func ProfileHeap(filename string) + func Round(f float64) float64 + func RoundFloatToInt(val float32) int + func StartProfilingCPU(filename string) + func StopProfilingCPU() + func StringOfLength(r rune, n int) string + func Sum(input ...int) int + type IOption interface + IsNone func() bool + Value func() interface{} + type Int64Option struct + func NoneInt64() Int64Option + func SomeInt64(x int64) Int64Option + func (i Int64Option) IsNone() bool + func (i Int64Option) String() string + func (i Int64Option) Val() int64 + func (i Int64Option) Value() interface{} + type IntOption struct + func NoneInt() IntOption + func SomeInt(x int) IntOption + func (i IntOption) IsNone() bool + func (i IntOption) String() string + func (i IntOption) Val() int + func (i IntOption) Value() interface{} + type RuneOption struct + func NoneRune() RuneOption + func SomeRune(x rune) RuneOption + func (i RuneOption) IsNone() bool + func (i RuneOption) String() string + func (i RuneOption) Val() rune + func (i RuneOption) Value() interface{}