Documentation ¶ Index ¶ func Contains[T comparable](ts []T, t T) bool func CreateDir(dir string) error func Exists(p string) (bool, error) func Filter[T any](ts []T, f func(t T) bool) []T func IsDir(p string) (bool, error) func Some[T any](ts []T, f func(t T) bool) bool func YesNo(msg string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Contains ¶ added in v0.4.0 func Contains[T comparable](ts []T, t T) bool func CreateDir ¶ func CreateDir(dir string) error func Exists ¶ func Exists(p string) (bool, error) func Filter ¶ added in v0.4.0 func Filter[T any](ts []T, f func(t T) bool) []T func IsDir ¶ added in v0.10.0 func IsDir(p string) (bool, error) func Some ¶ added in v0.4.0 func Some[T any](ts []T, f func(t T) bool) bool func YesNo ¶ func YesNo(msg string) bool Types ¶ This section is empty. Source Files ¶ View all Source files contains.gofiles.gofilter.gosome.goyesno.go Click to show internal directories. Click to hide internal directories.