From 81d8200bb9fb6583cb0d74d163a63554d8b7324a Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Fri, 8 Feb 2019 21:18:58 -0500 Subject: [PATCH 1/4] Add go.mod --- go.mod | 5 +++++ go.sum | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..d58193a --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/NYTimes/gziphandler + +go 1.12 + +require github.com/stretchr/testify v1.3.0 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..4347755 --- /dev/null +++ b/go.sum @@ -0,0 +1,7 @@ +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= From 1b2a2e1f0b21797295e0ee79780c236ccf8c6a27 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Fri, 8 Feb 2019 21:21:00 -0500 Subject: [PATCH 2/4] readme: make sure docs always use NYTimes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index efaa763..5f876f5 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,5 @@ The docs can be found at [godoc.org][docs], as usual. -[docs]: https://godoc.org/github.com/nytimes/gziphandler -[license]: https://github.com/nytimes/gziphandler/blob/master/LICENSE.md +[docs]: https://godoc.org/github.com/NYTimes/gziphandler +[license]: https://github.com/NYTimes/gziphandler/blob/master/LICENSE.md From d19d1439b8da2a13ae5d4f73fb3a8eb20a4a5476 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Fri, 8 Feb 2019 21:21:32 -0500 Subject: [PATCH 3/4] Add a canonical import path This is in prep for the org rename. --- gzip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.go b/gzip.go index c09cc1d..c112bbd 100644 --- a/gzip.go +++ b/gzip.go @@ -1,4 +1,4 @@ -package gziphandler +package gziphandler // import "github.com/NYTimes/gziphandler" import ( "bufio" From 71f98632618873d2a727aab3a705e52321990a49 Mon Sep 17 00:00:00 2001 From: Francisco Souza Date: Fri, 8 Feb 2019 21:22:22 -0500 Subject: [PATCH 4/4] readme: fix license link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f876f5..6259aca 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,4 @@ The docs can be found at [godoc.org][docs], as usual. [docs]: https://godoc.org/github.com/NYTimes/gziphandler -[license]: https://github.com/NYTimes/gziphandler/blob/master/LICENSE.md +[license]: https://github.com/NYTimes/gziphandler/blob/master/LICENSE