Documentation ¶
Index ¶
- Constants
- Variables
- func BufferCat(sv ...string) []byte
- func ByteCat(sv ...[]byte) string
- func DbgPrint(format string, a ...interface{})
- func ErrorCat(sv ...string) error
- func FixupTerminal()
- func MoveFile(oldpath, newpath string) error
- func PathIsSlipVulnerability(p string) bool
- func SaveFile(in io.Reader, path string, fm os.FileMode, replace bool) error
- func SplitPath(p string) []string
- func StrCat(sv ...string) string
- func StrSplitSkipEmpty(s string, sep byte, suggestcap int) []string
- type ParseArgs
- type Receiver
Constants ¶
View Source
const ( REQUIRED int = iota NOARG OPTIONAL )
option argument type
Variables ¶
View Source
var ( ErrNilArgv = errors.New("argv is nil") ErrUnExpectedArg = errors.New("unexpected argument '-'") )
error
View Source
var (
IsDebugMode bool
)
defined
Functions ¶
func ByteCat ¶
ByteCat cat strings: You should know that StrCat gradually builds advantages only when the number of parameters is> 2.
func FixupTerminal ¶
func FixupTerminal()
func PathIsSlipVulnerability ¶
PathIsSlipVulnerability todo
Types ¶
Click to show internal directories.
Click to hide internal directories.