How to Install golang-github-kardianos-osext-dev in Ubuntu 18.04



Install golang-github-kardianos-osext-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install golang-github-kardianos-osext-dev

Description:

Extend "os" package with Executable and ExecutableFolder

This Go library implements functions for discovering the current executable and folder to re-invoke the currently running program. This can be useful for upgrading the current executable or finding resources located relative to the executable file. Both working directory and the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0] can be "faked" . These methods are available in the "os" package from Go 1.8 and later.

Homepage: https://github.com/kardianos/osext

Version: 0.0~git20170510.0.ae77be6-4

Section: universe/devel