iwita 21196b4a6d added v1.15.4 5 years ago
..
BUILD 21196b4a6d added v1.15.4 5 years ago
LICENSE 21196b4a6d added v1.15.4 5 years ago
README.md 21196b4a6d added v1.15.4 5 years ago
osext.go 21196b4a6d added v1.15.4 5 years ago
osext_plan9.go 21196b4a6d added v1.15.4 5 years ago
osext_procfs.go 21196b4a6d added v1.15.4 5 years ago
osext_sysctl.go 21196b4a6d added v1.15.4 5 years ago
osext_windows.go 21196b4a6d added v1.15.4 5 years ago

README.md

Extensions to the "os" package.

Find the current Executable and ExecutableFolder.

There is sometimes utility in finding the current executable file that is running. This can be used for upgrading the current executable or finding resources located relative to the executable file.

Multi-platform and supports:

  • Linux
  • OS X
  • Windows
  • Plan 9
  • BSDs.