Skip to content

Commit 270e679

Browse files
committed
needs to be v2 apparently
1 parent 4b6022a commit 270e679

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![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)
33

44
```
5-
go get github.com/liip/sheriff/v1
5+
go get github.com/liip/sheriff/v2
66
```
77

88
Package sheriff marshals structs conditionally based on tags on the fields.
@@ -92,7 +92,7 @@ import (
9292
"log"
9393

9494
"github.com/hashicorp/go-version"
95-
"github.com/liip/sheriff/v1"
95+
"github.com/liip/sheriff/v2"
9696
)
9797

9898
type User struct {

example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"log"
77

88
"github.com/hashicorp/go-version"
9-
"github.com/liip/sheriff/v1"
9+
"github.com/liip/sheriff/v2"
1010
)
1111

1212
type User struct {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/liip/sheriff/v1
1+
module github.com/liip/sheriff/v2
22

33
go 1.20
44

0 commit comments

Comments
 (0)