From 4b6022ab616cf92e20b109280886012a97817f24 Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Wed, 6 Mar 2024 08:33:22 +0100 Subject: [PATCH] move to v1 --- LICENSE | 4 ++-- README.md | 4 ++-- example_test.go | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 73d7252..0e02fae 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2017 Michael Weibel, All rights reserved. +Copyright (c) 2017-2024 Michael Weibel, All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -24,4 +24,4 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 2f1feb8..c9393c9 100644 --- a/README.md +++ b/README.md @@ -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 +go get github.com/liip/sheriff/v1 ``` Package sheriff marshals structs conditionally based on tags on the fields. @@ -92,7 +92,7 @@ import ( "log" "github.com/hashicorp/go-version" - "github.com/liip/sheriff" + "github.com/liip/sheriff/v1" ) type User struct { diff --git a/example_test.go b/example_test.go index 8d8b584..9dff7e1 100644 --- a/example_test.go +++ b/example_test.go @@ -6,7 +6,7 @@ import ( "log" "github.com/hashicorp/go-version" - "github.com/liip/sheriff" + "github.com/liip/sheriff/v1" ) type User struct { diff --git a/go.mod b/go.mod index 216cc24..38fe2a3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/liip/sheriff +module github.com/liip/sheriff/v1 go 1.20