helper

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 DoRequest

func DoRequest(method, url string, body interface{}, v interface{}) error

func Max

func Max(a, b int) int

func PadANSI

func PadANSI(s string, width int) string

func PromptInt

func PromptInt(prompt string) int

func PromptItemID

func PromptItemID() string

func PromptPassword

func PromptPassword() string

func PromptString

func PromptString(prompt string) string

func PromptYesNo

func PromptYesNo(prompt string) bool

func StripAnsi

func StripAnsi(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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