Estou usando o ubuntu 22.04, e está dando esse erro:
elton in alura/go/gin-api-rest ❯ go get -u github.com/gin-gonic/gingithub.com/gin-gonic/gin imports github.com/gin-gonic/gin/binding imports github.com/pelletier/go-toml/v2 imports slices: package slices is not in GOROOT (/usr/local/go/src/slices) note: imported by a module that requires go 1.21