internal

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualFloat

func EqualFloat(expected, observed float64) bool

func HasAnyIndex added in v0.3.0

func HasAnyIndex(s string, suffixes []string) int

func HasAnyPrefix added in v0.3.0

func HasAnyPrefix(s string, prefixes []string) bool

func HasAnySuffix

func HasAnySuffix(s string, suffixes []string) bool

HasAnySuffix determines if `s` has any of the suffixes in `suffixes`.

func Min

func Min(a, b int) int

min returns the minimum of `a` and `b`.

func ReadDataFile

func ReadDataFile(path string) []byte

func StringInSlice

func StringInSlice(a string, slice []string) bool

StringInSlice determines if `slice` contains the string `a`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL