Registry / utility / kardianos-osext

kardianos-osext

JSON →
library0.0.0-20190222173326-2bc1f35cddc0gogounverified

Extensions to the standard os package, providing functionality like obtaining the executable path.

go get github.com/kardianos/osext
INSTALL
IMPORT
SIG · KARDIANOS-OSEXT
K
kardianos-osext
utilitygov0.0.0-20190222173326-2bc1f35cddc0
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/kardianos/osext

Get the executable path using osext

package main import ( "fmt" "github.com/kardianos/osext" ) func main() { execPath, err := osext.Executable() if err != nil { panic(err) } fmt.Println(execPath) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190222173326-2bc1f35cddc0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kardianos-osext — go get kardianos-osext · libregistry