Show us the output of `which go`. I'm not convinced you're using a native Linux Go compiler.
On Wed, Nov 23, 2022 at 5:31 PM pat2...@gmail.com <pat22...@gmail.com> wrote: > Just in case my use of the "windows installer" for go and then using > WSL/bash > >> was confusing assorted magic env variables, I uninstalled/deleted the > Windows installed version > then I downloaded the "linux" version, and did the usual "sudo tar " > install > > Made no difference > Get the same error message > > $ cat go.mod > module github.com/pfarrell51/gows/treesort > > go 1.19 > > > $ go test . > # github.com/pfarrell51/gows/treesort > treesort_test.go:11:2: package treesort is not in GOROOT > (/usr/local/go/src/treesort) > FAIL github.com/pfarrell51/gows/treesort [setup failed] > FAIL > > -- > 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/337a21ff-6c06-440d-9aa9-89aa4a1d071an%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/337a21ff-6c06-440d-9aa9-89aa4a1d071an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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/CABx2%3DD96YsSy62C%2BtQZ6NQCv6uvAt56b5%2Bb%3Dn0D5qwYo2EJyww%40mail.gmail.com.