util

package
v0.0.0-...-d761364 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(folder string, fileName string, content string) error

func ExecCommandStreamingOut

func ExecCommandStreamingOut(command string) error

func ExecStringCommand

func ExecStringCommand(command string) (string, error)

func GetCurrentFolderName

func GetCurrentFolderName() (string, error)

func HandleFatalError

func HandleFatalError(err error)

func Openbrowser

func Openbrowser(url string)

func PathExists

func PathExists(path string) (bool, error)

func PromptInt

func PromptInt(label string) (int, error)

func PromptPassword

func PromptPassword(label string) (string, error)

func PromptSelect

func PromptSelect(label string, items []string) (string, error)

func PromptString

func PromptString(label string) (string, error)

func PromptYN

func PromptYN(promtText string) bool

func StripNewLine

func StripNewLine(input string) string

func WaitForever

func WaitForever()

Types

This section is empty.

Jump to

Keyboard shortcuts

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