Documentation ¶
Index ¶
- func AskPass(msg string) string
- func AskQuestion(msg string, in []string) (anwser string)
- func Exit(msg string, code int)
- func GetConfigPath(name string) (path string)
- func GetHomeDir() (home string)
- func GetHostPath(name string) (path string)
- func GetKeyString(keyfile string) (string, error)
- func GetRandNumber(min, max int) int
- func MakeHash(in []string) string
- func MakeID(in []string) string
- func MakeKeyfile(name string, force bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskQuestion ¶
AskQuestion prompt to enter anwser through terminal
func GetConfigPath ¶
func GetHomeDir ¶
func GetHomeDir() (home string)
GetHomeDir returns the current user's home directory. but the $HOME environment variable is the first.
func GetHostPath ¶
func GetKeyString ¶
func GetRandNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.