setproctitle()
package for Go.
Simple install the package to your $GOPATH with the go tool from shell:
go get github.com/ErikDubbelboer/gspt
Make sure Git is installed on your machine and in your system's PATH
.
import "github.com/ErikDubbelboer/gspt"
gspt.SetProcTitle("some title")
Please check the documentation for more details.