k3s/vendor/github.com/kardianos/osext
Mike Danese a05c3c0efd autogenerated 2017-04-14 10:40:57 -07:00
..
BUILD autogenerated 2017-04-14 10:40:57 -07:00
LICENSE Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
README.md Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_plan9.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_procfs.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_sysctl.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_windows.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00

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.