while
go get -u -v “golang.org/x/net/http2”
following error:
go/src/golang.org/x/net/http2/client_conn_pool.go:305:6: undefined: errors.Is
go/src/golang.org/x/net/http2/server.go:234:72: undefined: tls.VersionTLS13
Appreciate help to fix
Hi,
I had the same problem for the free5gc-stage-1. Fixed it by:
- remove go completely,
- install it via snap.
- Reboot. Then you will be able to get the modules. However, you will have problems while building which is solved by:
go env -w GO111MODULE=off
Now I am able to build free5gc-stage-1. I hope this helps.
Best,
Serkut