util

package
v0.0.0-...-9e48b22 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirectory

func CreateDirectory(dirName string)

func GenerateExecName

func GenerateExecName(prefix string) string

func GetFileNameOnly

func GetFileNameOnly(filePath string) string

func GetFlagBool

func GetFlagBool(cmd *cobra.Command, flag string) bool

func GetFlagString

func GetFlagString(cmd *cobra.Command, flag string) string

func PathExists

func PathExists(path string) (bool, error)

func PrintJSON

func PrintJSON(obj interface{})

func PrintYAML

func PrintYAML(obj interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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