On 2016-12-03 16:14, d...@veryhaha.com wrote:
You mean myapp can import the packages in the vendor folder?
I tested it, but without success.

Yes.

If you use:
$ go build myapp

It works. The vendor folder will be used. Not with plain "go build" though.

Some tools (like go guru) hasn't got a way to name the current package though, so for guru to work, you need to:
$ (cd src/myapp; guru ....)

/Peter

--
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to