From 7090b4af33846c48b336335f6a19514b7c1d4392 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sun, 31 Dec 2023 12:52:41 +0100 Subject: [PATCH] initialize Go module Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- README.md | 4 ++-- go.mod | 5 +++++ go.sum | 9 +++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/README.md b/README.md index a816138..41f2736 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ The format is partially compatible with [Firebase’s JSON config]. Please see [ # Installation ## Binaries -`simplehttp2server` is `go get`-able: +`simplehttp2server` is `go install`-able: ``` -$ go get github.com/GoogleChrome/simplehttp2server +$ go install github.com/GoogleChrome/simplehttp2server ``` Precompiled binaries can be found in the [release section](https://github.com/GoogleChrome/simplehttp2server/releases). diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1abb7f6 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/GoogleChromeLabs/simplehttp2server + +go 1.20 + +require github.com/NYTimes/gziphandler v1.1.1 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..1d9a30c --- /dev/null +++ b/go.sum @@ -0,0 +1,9 @@ +github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= +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=