Documentation
¶
Index ¶
- func AverageDuration(dur []time.Duration) (avg time.Duration)
- func ExecCost(fn func()) time.Duration
- func IndexInt(ints []int, n int) int
- func IndexStringSlice(strings []string, str string) int
- func IsRuneMatch(p, r rune) bool
- func IsRunesMatch(pattern, runes []rune) bool
- func Max[Ord cmp.Ordered](a, b Ord) Ord
- func MaxInt8(a, b int8) int8
- func RangeFileLines(filename string, fn func(string) bool) error
- func ReadAllLines(filename string) []string
- func Reverse[T any](data []T)
- func SliceEqual(a, b []int) bool
- type Float
- type Int
- type Result
- type Str
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexStringSlice ¶
func IsRuneMatch ¶
func IsRunesMatch ¶
func ReadAllLines ¶
func SliceEqual ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.