Documentation ¶
Index ¶
- Constants
- func EnvIntOr(name string, def int) int
- func EnvOr(name, def string) string
- func Exec(command string, arg ...string) error
- func FilterSlice[T any](slices []T, f func(T) bool) []T
- func FindSlice[T any](slices []T, f func(T) bool) (T, bool)
- func GenNullPath(p string) error
- func Go(command string, path ...string) error
- func ModName() string
- func Plural(s string) string
- func Singular(s string) string
- func Uniq[T comparable](collection []T) []T
- func WhiteGo(path string, buf []byte) error
Constants ¶
View Source
const (
DefaultApiVersion = "v1"
)
Variables ¶
This section is empty.
Functions ¶
func FilterSlice ¶
func GenNullPath ¶
func Uniq ¶
func Uniq[T comparable](collection []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.