Documentation
¶
Index ¶
- func AskCleanup() bool
- func AskOverwrite() string
- func Contains[T comparable](list []T, item T) bool
- func FileExists(path string) bool
- func GIGen()
- func GlobExists(path string) bool
- func HandleFileOverwrite(path string, contents string)
- func Insert[T any](a []T, i int, item T) []T
- func KeyInterrupt()
- func Quit(message string)
- func ReadFile(path string) string
- func RemoveCacheDir()
- func RunCmd(cmd string, args ...string) (string, error)
- func Ternary[T any](cond bool, whenTrue T, whenFalse T) T
- func ToString[T any](obj T) string
- func UNUSED(x ...interface{})
- func WriteFile(path string, data string, overwrite bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskCleanup ¶ added in v0.3.4
func AskCleanup() bool
func AskOverwrite ¶
func AskOverwrite() string
func Contains ¶
func Contains[T comparable](list []T, item T) bool
func FileExists ¶
func GlobExists ¶
func HandleFileOverwrite ¶
func KeyInterrupt ¶ added in v0.3.5
func KeyInterrupt()
func RemoveCacheDir ¶ added in v0.3.4
func RemoveCacheDir()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.