Skip to content

Commit 4b6022a

Browse files
committed
move to v1
1 parent f19da49 commit 4b6022a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 Michael Weibel, All rights reserved.
1+
Copyright (c) 2017-2024 Michael Weibel, All rights reserved.
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions are
@@ -24,4 +24,4 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2424
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2525
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
2626
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27-
POSSIBILITY OF SUCH DAMAGE.
27+
POSSIBILITY OF SUCH DAMAGE.

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
5+
go get github.com/liip/sheriff/v1
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"
95+
"github.com/liip/sheriff/v1"
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"
9+
"github.com/liip/sheriff/v1"
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
1+
module github.com/liip/sheriff/v1
22

33
go 1.20
44

0 commit comments

Comments
 (0)