Skip to content

Commit

Permalink
fix v2
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Oct 21, 2023
1 parent 4b6fd38 commit 118d649
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ A [parquet](https://www.elastic.co/parquet/) Handler for [slog](https://pkg.go.d
## 🚀 Install

```sh
go get github.com/samber/slog-parquet
go get github.com/samber/slog-parquet/v2
```

**Compatibility**: go >= 1.21

No breaking changes will be made to exported APIs before v2.0.0.
No breaking changes will be made to exported APIs before v3.0.0.

## 💡 Usage

GoDoc: [https://pkg.go.dev/github.com/samber/slog-parquet](https://pkg.go.dev/github.com/samber/slog-parquet)
GoDoc: [https://pkg.go.dev/github.com/samber/slog-parquet/v2](https://pkg.go.dev/github.com/samber/slog-parquet/v2)

### Handler options

Expand Down Expand Up @@ -98,7 +98,7 @@ See [github.com/thanos-io/objstore](github.com/thanos-io/objstore).
import (
"log/slog"

slogparquet "github.com/samber/slog-parquet"
slogparquet "github.com/samber/slog-parquet/v2"
"github.com/thanos-io/objstore/providers/s3"
)

Expand Down
2 changes: 1 addition & 1 deletion example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"log/slog"

slogparquet "github.com/samber/slog-parquet"
slogparquet "github.com/samber/slog-parquet/v2"
"github.com/thanos-io/objstore/providers/s3"
)

Expand Down
4 changes: 2 additions & 2 deletions example/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/samber/slog-parquet/example
module github.com/samber/slog-parquet/v2/example

go 1.21

require (
github.com/samber/slog-parquet v0.0.0-20230819003546-f6e0e0bb6a8a
github.com/samber/slog-parquet/v2 v2.0.0
github.com/thanos-io/objstore v0.0.0-20230816175749-20395bffdf26
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/samber/slog-parquet
module github.com/samber/slog-parquet/v2

go 1.21

Expand Down

0 comments on commit 118d649

Please sign in to comment.