Hello, I'm struggling to work out why this isn't working. I'm getting the following, any help greatly appreciated.
../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:14:2: package bufio is not in GOROOT (/usr/local/go/src/bufio) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:15:2: package bytes is not in GOROOT (/usr/local/go/src/bytes) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/impl/legacy_file.go:9:2: package compress/gzip is not in GOROOT (/usr/local/go/src/compress/gzip) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/detrand/rand.go:13:2: package encoding/binary is not in GOROOT (/usr/local/go/src/encoding/binary) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/impl/legacy_export.go:9:2: package encoding/json is not in GOROOT (/usr/local/go/src/encoding/json) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/main.go:13:2: package errors is not in GOROOT (/usr/local/go/src/errors) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/main.go:14:2: package flag is not in GOROOT (/usr/local/go/src/flag) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/main.go:15:2: package fmt is not in GOROOT (/usr/local/go/src/fmt) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/internal_gengo/main.go:10:2: package go/ast is not in GOROOT (/usr/local/go/src/go/ast) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/internal_gengo/main.go:11:2: package go/parser is not in GOROOT (/usr/local/go/src/go/parser) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:19:2: package go/printer is not in GOROOT (/usr/local/go/src/go/printer) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/cmd/protoc-gen-go/internal_gengo/main.go:12:2: package go/token is not in GOROOT (/usr/local/go/src/go/token) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:21:2: package go/types is not in GOROOT (/usr/local/go/src/go/types) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/impl/legacy_export.go:10:2: package hash/crc32 is not in GOROOT (/usr/local/go/src/hash/crc32) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/detrand/rand.go:14:2: package hash/fnv is not in GOROOT (/usr/local/go/src/hash/fnv) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/encoding/protowire/wire.go:13:2: package io is not in GOROOT (/usr/local/go/src/io) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/impl/legacy_file.go:10:2: package io/ioutil is not in GOROOT (/usr/local/go/src/io/ioutil) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/encoding/protowire/wire.go:14:2: package math is not in GOROOT (/usr/local/go/src/math) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/encoding/protowire/wire.go:15:2: package math/bits is not in GOROOT (/usr/local/go/src/math/bits) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/detrand/rand.go:15:2: package os is not in GOROOT (/usr/local/go/src/os) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:24:2: package path is not in GOROOT (/usr/local/go/src/path) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/compiler/protogen/protogen.go:25:2: package path/filepath is not in GOROOT (/usr/local/go/src/path/filepath) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/proto/equal.go:10:2: package reflect is not in GOROOT (/usr/local/go/src/reflect) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/encoding/text/decode.go:11:2: package regexp is not in GOROOT (/usr/local/go/src/regexp) package google.golang.org/protobuf/cmd/protoc-gen-go: cannot find package ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/order/range.go:9:2: package sort is not in GOROOT (/usr/local/go/src/sort) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/reflect/protoreflect/source.go:8:2: package strconv is not in GOROOT (/usr/local/go/src/strconv) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/reflect/protoreflect/proto.go:131:2: package strings is not in GOROOT (/usr/local/go/src/strings) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/pragma/pragma.go:9:8: package sync is not in GOROOT (/usr/local/go/src/sync) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/filedesc/desc.go:11:2: package sync/atomic is not in GOROOT (/usr/local/go/src/sync/atomic) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/strs/strings.go:11:2: package unicode is not in GOROOT (/usr/local/go/src/unicode) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/encoding/text/decode_string.go:12:2: package unicode/utf16 is not in GOROOT (/usr/local/go/src/unicode/utf16) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/internal/strs/strings.go:12:2: package unicode/utf8 is not in GOROOT (/usr/local/go/src/unicode/utf8) ../../../go/pkg/mod/google.golang.org/protobuf@v1.28.0/reflect/protoreflect/value_unsafe.go:11:2: package unsafe is not in GOROOT (/usr/local/go/src/unsafe) -- 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/f946128f-4748-475f-9dc1-782aa1ca1d5dn%40googlegroups.com.