Documentation ¶
Index ¶
- func CurrentDirectory() string
- func DirExists(dirName string) bool
- func FindDirectory(dirName string) string
- func InitUtils() bool
- func IsExists(path, dirName string) bool
- func MakeDirectory(path string, dirName string) error
- func MakeFile(path string, fileName string) error
- func PromptGetYesOrNoInput(pc PromptContent) bool
- func WriteToFile(path, file, data string) error
- type PromptContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentDirectory ¶ added in v1.1.1
func CurrentDirectory() string
CurrentDirectory will give the root directory.
func FindDirectory ¶
FindDirectory will give the path of an input.
func MakeDirectory ¶
MakeDirectory will make directory according to input.
func PromptGetYesOrNoInput ¶ added in v1.1.1
func PromptGetYesOrNoInput(pc PromptContent) bool
PromptGetYesOrNoInput will return boolean value with respect to User input.
func WriteToFile ¶
WriteToFile for write input data into file with respect to path.
Types ¶
type PromptContent ¶ added in v1.1.1
PromptContent is the type of Prompt.
Click to show internal directories.
Click to hide internal directories.