But, how to release it as binary library instead of source code?
I put source on /home/USER/prj/mylib/mylib.go (I don't want put all
project stuff in $GOPATH, because there contains other languages)
And make a symbolic link for it.
mkdir -p /home/USER/go/src/mycompany
ln -s /home/USER/prj/mylib/ /home/USER/go/src/mycompany/mylib
I can do 'go test' under /home/USER/go/src/mycompany/mylib/
But, if I type 'go install' it response
go install: no install location for directory /home/USER/prj/mylib outside
BTW, during google search, I found this URL, and the issue is accepted but
not resolved for a year.
I suppose to harden released binary is important.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.