package osext
import "github.com/kardianos/osext"
Extensions to the standard "os" package.
Index ¶
Functions ¶
func Executable ¶
Executable returns an absolute path that can be used to re-invoke the current program. It may not be valid after the current program exits.
func ExecutableFolder ¶
Returns same path as Executable, returns just the folder path. Excludes the executable name and any trailing slash.
Source Files ¶
- Version
- v0.0.0-20190222173326-2bc1f35cddc0 (latest)
- Published
- Feb 22, 2019
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 8 minutes ago –
Tools for package owners.