util

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.6.0"

Variables

View Source
var (
	ConfigPath string
)

Functions

func AddToPath

func AddToPath(pathToAdd string)

func BinName

func BinName() string

func Download

func Download(url string, dest string) error

func Find

func Find(name string, in string) (string, error)

Find finds a file in a directory

func GetGlobalConfigPath

func GetGlobalConfigPath() (string, error)

func GetPackagePath

func GetPackagePath() string

func RestorePath

func RestorePath()

func System

func System(cmd string) *exec.Cmd

func TermWidth

func TermWidth() int

func Unzip

func Unzip(filepath string) error

Unzip unzips an archive at its location

Types

This section is empty.

Jump to

Keyboard shortcuts

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