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

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.