File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
[ ![ 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 )
3
3
4
4
```
5
- go get github.com/liip/sheriff/v1
5
+ go get github.com/liip/sheriff/v2
6
6
```
7
7
8
8
Package sheriff marshals structs conditionally based on tags on the fields.
@@ -92,7 +92,7 @@ import (
92
92
" log"
93
93
94
94
" github.com/hashicorp/go-version"
95
- " github.com/liip/sheriff/v1 "
95
+ " github.com/liip/sheriff/v2 "
96
96
)
97
97
98
98
type User struct {
Original file line number Diff line number Diff line change 6
6
"log"
7
7
8
8
"github.com/hashicorp/go-version"
9
- "github.com/liip/sheriff/v1 "
9
+ "github.com/liip/sheriff/v2 "
10
10
)
11
11
12
12
type User struct {
Original file line number Diff line number Diff line change 1
- module github.com/liip/sheriff/v1
1
+ module github.com/liip/sheriff/v2
2
2
3
3
go 1.20
4
4
You can’t perform that action at this time.
0 commit comments