Skip to content

Make Errors with Go Version #285

@switchtower

Description

@switchtower
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions