path

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryPath

func BinaryPath() (string, error)

BinaryPath - Returns the path of the executing binary, or an error if it couldn't be resolved.

func FromBinaryIfRelative

func FromBinaryIfRelative(path *string) error

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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