Documentation
¶
Index ¶
- func Bool2Int(b bool) int
- func Clamp(min int, n, max int) int
- func DirExists(path string) bool
- func EndsWith(string string, substrings []string) bool
- func FileExists(path string) bool
- func GoldenTest(t *testing.T, file string, content string)
- func InArray[T comparable](value T, array []T) bool
- func Merge[T any](acc map[string]T, maps ...map[string]T) map[string]T
- func PrefixN(str string, char rune) int
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func InArray ¶
func InArray[T comparable](value T, array []T) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.