util/misc.go
func ExeDirJoin(elem ...string) string {
	exe, err := os.Executable()
	if err != nil {
		panic(err)
	}
	elem = append([]string{filepath.Dir(exe)}, elem...)
	return filepath.Join(elem...)
}
func ExeDirJoin(elem ...string) string {
	exe, err := os.Executable()
	if err != nil {
		panic(err)
	}
	elem = append([]string{filepath.Dir(exe)}, elem...)
	return filepath.Join(elem...)
}
func ExeDirJoin ( elem ... string ) string { exe , err := os . Executable ( ) if err != nil { panic ( err ) } elem = append ( [ ] string { filepath . Dir ( exe ) } , elem ... ) return filepath . Join ( elem ... ) }
// ExeDirJoin composes a file name relative to a running executable.
ExeDirJoin composes a file name relative to a running executable .