Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutableHash ¶
executableHash given the path of the executable generate an hash to be used as name. It is the default way to handle not correct info variable.
func GetNameVersion ¶
getNameVersion execute the binary with the `-info` option. Then it parse the standard output, parse the JSON and return a name and a version string
func NewFile ¶
NewFile create a new file, the path of the file will be the first argument, while its content will be the second one.
func RandomSuffix ¶
func RandomSuffix() string
randomSuffix return a string to be used to generate random temporany directories.
Types ¶
This section is empty.