Please use the excellent https://bitbucket.org/kardianos/osext instead which provides the same functionality cross-platform with proper cross-compilation across all targets.
[DEPRECATED] Cross-platform Go(lang) library for determining the path to the executable of the running process
Please use the excellent https://bitbucket.org/kardianos/osext instead which provides the same functionality cross-platform with proper cross-compilation across all targets.
[DEPRECATED] Cross-platform Go(lang) library for determining the path to the executable of the running process