Unable to use v2
hassiexx opened this issue · 4 comments
hassiexx commented
I get the following error when trying to import v2 of the logger:
go get cdr.dev/slog@v2.0.0: cdr.dev/slog@v2.0.0: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
go get cdr.dev/slog@v2.0.1: cdr.dev/slog@v2.0.1: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
nhooyr commented
Please import as cdr.dev/slog/v2
and then things should work as expected.
nhooyr commented
We'd recommend sticking with V1 btw, we had some problems with V2 and are reverting master to V1 for now.
nhooyr commented
Sorry about that btw, master has been reverted.
hassiexx commented
Thanks 👍