utils

package
v0.0.0-...-4d935e2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Ask

func Ask(qs []*survey.Question, response interface{}, opts ...survey.AskOpt)

func AskOne

func AskOne(p survey.Prompt, response interface{}, opts ...survey.AskOpt)

func CreateNestedDirectory

func CreateNestedDirectory(path string) error

func CreateNestedFile

func CreateNestedFile(path string) (*os.File, error)

func Exists

func Exists(name string) bool

func WriteJsonToFile

func WriteJsonToFile(dst string, data interface{}, std ...bool) bool

WriteJsonToFile write struct to json file

Types

This section is empty.

Jump to

Keyboard shortcuts

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