Documentation ¶
Index ¶
- Variables
- func ArrayRemove[T any](array []T, s int) []T
- func CopyFile(file string, destination string)
- func GetMail() (string, error)
- func HandleError(err error, message string)
- func HandleSuccess(err error, message string)
- func HandleWarning(err error, message string)
- func MkDir(parts ...string) (string, error)
- func ReadStdin() string
- func RunCmd(command string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RESET = "\033[0m" RED = "\033[31m" GREEN = "\033[32m" YELLOW = "\033[33m" BLUE = "\033[34m" PURPLE = "\033[35m" CYAN = "\033[36m" GRAY = "\033[37m" WHITE = "\033[97m" )
View Source
var ( APPNAME = "bibman" AUTHOR = "KMIJPH" REPOSITORY = fmt.Sprintf("https://codeberg.org/%s/%s", AUTHOR, APPNAME) CONFIGDIR = "unknown" DATADIR = "unknown" DATABASE = "unknown" VERSION = "unknown" )
Functions ¶
func ArrayRemove ¶ added in v0.0.4
removes an entry from a slice (ordered, slower)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.