Documentation ¶ Index ¶ func CopyToClipboard(text string, copyOnlyFirst bool) error func GenerateRandom(n int, allowLower, allowUpper, allowDigit, allowSpecial bool, ...) string func PrintTree(root string, prefix string, isLast bool) error func SetCmd(cfg CmdConfig, args ...string) *exec.Cmd type CmdConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CopyToClipboard ¶ func CopyToClipboard(text string, copyOnlyFirst bool) error func GenerateRandom ¶ func GenerateRandom( n int, allowLower, allowUpper, allowDigit, allowSpecial bool, allowedSpecial string, ) string func PrintTree ¶ func PrintTree(root string, prefix string, isLast bool) error PrintTree recursively prints the directory structure in a tree-like format func SetCmd ¶ func SetCmd(cfg CmdConfig, args ...string) *exec.Cmd Types ¶ type CmdConfig ¶ added in v1.0.0 type CmdConfig struct { IsStdin bool IsStdout bool IsStderr bool Dir string } Source Files ¶ View all Source files utils.go Directories ¶ Show internal Expand all Path Synopsis copy git paths ssh Click to show internal directories. Click to hide internal directories.