Documentation ¶
Overview ¶
Package utils contains all utility functions that will be used across Jarvis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitOnError ¶
func ExitOnError(err error)
ExitOnError prints the error message and exit with code 1.
func GenerateFile ¶
func GenerateFile(templates []string, outputPath string, requireMap map[string]interface{}, replaceMap map[string]interface{})
GenerateFile generates files using template in assets folder.
func RunCommand ¶
RunCommand executes input command and prints the result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.