util

package
v0.0.0-...-41a006c Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src string, dst string) error

func CopyFile

func CopyFile(src string, dst string) error

func Download

func Download(path string, url string) error

func DownloadFile

func DownloadFile(path string, url string) error

func Empty

func Empty(val any) bool

func Exist

func Exist(path string) bool

func GetExecDir

func GetExecDir() string

func GetRootDir

func GetRootDir() (string, error)

func If

func If(flag bool, well any, fail any) any

func IsHideDir

func IsHideDir(path string) bool

func IsProcessExist

func IsProcessExist(pid int) bool

func KillProcess

func KillProcess(pid int) error

func Pretty

func Pretty(list [][]string)

func RangeMapStringAny

func RangeMapStringAny(iter, data map[string]any) map[string]any

func SubDir

func SubDir(dir string) ([]string, error)

func Unzip

func Unzip(src string, dst string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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