helpers

package
v0.0.0-...-a644469 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

func Exec

func Exec(cmd string, args []string, env []string) error

This allows a multi-platform switch in the future

func Factorial

func Factorial(n uint64) (result uint64)

func GetHomeDir

func GetHomeDir() (ans string)

func GetURI

func GetURI(s string) (string, error)

func IsUrl

func IsUrl(s string) bool

func ReverseAny

func ReverseAny(s interface{})

func SanitizeImageString

func SanitizeImageString(s string) string

func Tar

func Tar(src, dest string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL