Skip to content

Commit

Permalink
needs to be v2 apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
mweibel committed Mar 6, 2024
1 parent 4b6022a commit 270e679
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![GoDoc](https://godoc.org/github.com/liip/sheriff?status.svg)](https://godoc.org/github.com/liip/sheriff) [![Build Status](https://travis-ci.org/liip/sheriff.svg?branch=master)](https://travis-ci.org/liip/sheriff) [![Coverage Status](https://coveralls.io/repos/github/liip/sheriff/badge.svg?branch=master)](https://coveralls.io/github/liip/sheriff?branch=master)

```
go get github.com/liip/sheriff/v1
go get github.com/liip/sheriff/v2
```

Package sheriff marshals structs conditionally based on tags on the fields.
Expand Down Expand Up @@ -92,7 +92,7 @@ import (
"log"

"github.com/hashicorp/go-version"
"github.com/liip/sheriff/v1"
"github.com/liip/sheriff/v2"
)

type User struct {
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"

"github.com/hashicorp/go-version"
"github.com/liip/sheriff/v1"
"github.com/liip/sheriff/v2"
)

type User struct {
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/liip/sheriff/v1
module github.com/liip/sheriff/v2

go 1.20

Expand Down

0 comments on commit 270e679

Please sign in to comment.