authzed / examples

A collection of examples for SpiceDB users
Apache License 2.0
31 stars 5 forks source link

spicedb-as-library does not compile #12

Closed Emyrk closed 10 months ago

Emyrk commented 10 months ago

Running go build on the spicedb-as-library example yields a dependency issue

$ go build
go: downloading go.buf.build/protocolbuffers/go/prometheus/prometheus v1.3.8
../../go/pkg/mod/github.com/authzed/spicedb@v1.22.2/internal/telemetry/reporter.go:25:2: unrecognized import path "go.buf.build/protocolbuffers/go/prometheus/prometheus": https fetch: Get "https://go.buf.build/protocolbuffers/go/prometheus/prometheus?go-get=1": dial tcp: lookup go.buf.build on 1.1.1.1:53: no such host
Emyrk commented 10 months ago

Broken by this migration buf.build:

https://buf.build/docs/migration-guides/migrate-remote-generation-alpha

Emyrk commented 10 months ago

I opened a PR that just bumps the dependency versions in the go.mod.