common

package
v0.0.0-...-5452d80 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExist

func FileExist(file string) error

FileExist return an error when a file does not exist

func GetFolderFiles

func GetFolderFiles(folder string) ([]os.FileInfo, error)

GetFolderFiles get all files from folder

func RunCmd

func RunCmd(cmdName string, cmdArgs []string, prefix string) error

RunCmd takes a command and args and runs it, streaming output to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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