I have never seen the dot needed, I have used plenty of packages that are in GOPATH but not GOROOT
On Tue, Jan 19, 2021 at 2:04 PM 'Dan Kortschak' via golang-nuts <golang-nuts@googlegroups.com> wrote: > > On Tue, 2021-01-19 at 13:54 -0800, Alexander Mills wrote: > > i am getting this weird error message: > > > > package twitch/go-scripts/dynamo-creators-to-s3/lib is not in GOROOT > > (/usr/local/Cellar/go/1.15.6/libexec/src/twitch/go-scripts/dynamo- > > creators-to-s3/lib) > > > > my GOPATH=$PWD/scripts/go > > > > so there is only 1 GOPATH > > Packages that are not in GOROOT must have a dot in the first path > element. Your import path doesn't; it's "twitch". > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/yetRzPu19eQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3e1a5f86d1cb6724deeb48cdc4017b3a94f459ef.camel%40kortschak.io. -- Alexander D. Mills New cell phone # (415)730-1805 linkedin.com/in/alexanderdmills -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BKyZp7dFzrp%2BrWWMu0cGuT0jW0q-4YiAesHSnvn7Q0Q-KWAEQ%40mail.gmail.com.