utils

package
v0.0.0-...-63c5a8c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(prompt string, defaultYes bool) bool

func FormatUnixTime

func FormatUnixTime(ts int64) string

func GetInput

func GetInput(prompt string) (string, error)

func GetPasswordInput

func GetPasswordInput(prompt string) ([]byte, error)

func ParseVersion

func ParseVersion(v string) ([]int, error)

func PrettyPrint

func PrettyPrint(v interface{})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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