1 2 3 4 5 6 7 8 9
//+build go1.8,!openbsd package osext import "os" func executable() (string, error) { return os.Executable() }