func BinaryPath ¶
BinaryPath - Returns the path of the executing binary, or an error if it couldn't be resolved.
func FromBinaryIfRelative ¶
FromBinaryIfRelative - Takes a path and, if the path is relative, resolves the path from the location of the binary file rather than the current working directory. Returns an error when the path is relative and cannot be resolved.