I have a library package like this:
└── src
└── datepackage
└── dateutil.go
My GOPATH is set like this:
*/home/dean/src/golang/go3p:<CURRENT_DIR>*
where /home/dean/src/golang/go3p is where go get installs packages and
<CURRENT_DIR> is the directory above my src/ directory.
When I execute *go install datepackage* I get
.
├── pkg
│ └── linux_amd64
│ └── datepackage.a
└── src
└── datepackage
└── dateutil.go
I've also tried this with the components of the GOPATH reversed but get the
same results. The *go install* command should be installing this package
where *go get* would install it (in the first component of my GOPATH), or
so I've been lead to believe.
Does go install only install to the PWD? It seems to be ignoring the
GOPATH.
--
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 protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/b4c8a104-3f9a-4158-874b-dfee0c6bf375n%40googlegroups.com.