Documentation
¶
Index ¶
- Constants
- func DoRequest(method, url string, body interface{}, v interface{}) error
- func Max(a, b int) int
- func PadANSI(s string, width int) string
- func PromptInt(prompt string) int
- func PromptItemID() string
- func PromptPassword() string
- func PromptString(prompt string) string
- func PromptYesNo(prompt string) bool
- func StripAnsi(s string) string
Constants ¶
View Source
const ( Red = "\033[1;31m" Green = "\033[1;32m" Yellow = "\033[1;33m" Cyan = "\033[36m" Bold = "\033[1m" Reset = "\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func PromptItemID ¶
func PromptItemID() string
func PromptPassword ¶
func PromptPassword() string
func PromptString ¶
func PromptYesNo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.