Registry / utility / mitchellh-osext

mitchellh-osext

JSON →
library0.0.0-20151018003038-5e2d6d41470fgogounverified

Extensions to the standard os package, providing additional file and path utilities.

go get github.com/mitchellh/osext
INSTALL
IMPORT
SIG · MITCHELLH-OSEXT
M
mitchellh-osext
utilitygov0.0.0-20151018003038-5e2d6d41470f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

osext
github.com/mitchellh/osext

Gets the path of the current executable.

package main import ( "fmt" "github.com/mitchellh/osext" ) func main() { exe, _ := osext.Executable() fmt.Println(exe) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20151018003038-5e2d6d41470flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
mitchellh-osext — go get mitchellh-osext · libregistry