Noted with thanks.

I used "go get ." to download the package "github.com/google/gopacket",
however Go is searching for it in "$GOPATH/src" while it was downloaded to
"$GOPATH/pkg/mod".

*--*
Clitson


On Mon, Sep 13, 2021 at 8:39 PM Ian Lance Taylor <i...@golang.org> wrote:

> On Mon, Sep 13, 2021 at 4:35 PM Clitson Belleau <clitson.w...@gmail.com>
> wrote:
>
>> Hi,
>>
>> Has anyone had an issue with Go referencing "src" folders from the which
>> was changed to "pkg" since v1.6? If so is there any way to fix this or any
>> link to a similar issue?
>>
>> I couldn't find anything in the documentation regarding this. I am
>> running the latest v1.17.1 release.
>>
>> [image: fig1.png]
>> The folder listing for my GOPATH:
>> [image: fig2.png]
>>
>
>
> When presenting text, please present it as ordinary text, not as images.
> Text is much easier to read than images.  Thanks.
>
> You should not have a directory $GOROOT/src/github.com.  I don't know why
> that appears to exist on your system.
>
> Ian
>

-- 
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/CANMqnkR0vsmmtTdJShFfXscGrCxOBtUJr5Sy5yRoNQsjUzDGDg%40mail.gmail.com.

Reply via email to