Y
Hacker News
new
|
ask
|
show
|
jobs
by
martinsb
3098 days ago
Regarding (1), os.Executable function introduced relatively recently could make things better for you.
https://golang.org/pkg/os/#Executable