utils

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskUserInput

func AskUserInput() string

func CheckValue

func CheckValue(value string) string

func ClearScreen

func ClearScreen()

func CreatePanel

func CreatePanel(headerString string, choices []string) (int, error)

func Download

func Download(savedPath string, url string)

func ExecuteCMD

func ExecuteCMD(firstArg string, secondArg ...string) error

func ExtractArchive

func ExtractArchive(destPath string, archivePath string) error

func FileExists

func FileExists(filePath string) bool

func FolderExist

func FolderExist(folderPath string) bool

func GetOSStr

func GetOSStr() string

func JsonFormaters

func JsonFormaters(jsonByte []byte) map[string]interface{}

func ReadFile

func ReadFile(path string) ([]byte, error)

func Response

func Response(url string) []byte

func WriteFile

func WriteFile(path string, data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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