Make Errors with Go Version
Opened this issue · 2 comments
switchtower commented
make
go build -tags builtinassets -ldflags '-X main.BuildVersion=0.13.4' github.com/lomik/graphite-clickhouse
vendor/github.com/prometheus/common/model/labelset.go:20:2: package slices is not in GOROOT (/usr/lib/golang/src/slices)
note: imported by a module that requires go 1.21
make: *** [graphite-clickhouse] Error 1
Build errors saying a module requires 1.21 though the documentation says 1.18+ should work.
Hedius commented
would assume the readme is outdated? i opened a pull request updating prometheus a few months ago.
Hedius commented
cannot remember if it was required to do that