11 lines
115 B
Go
11 lines
115 B
Go
// +build go1.8
|
|
|
|
package daemon
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func osExecutable() (string, error) {
|
|
return os.Executable()
|
|
}
|