Skip to content

Commit

Permalink
Release v1.5.0 with go.mod file, based from prior v4.1.2 without go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Nov 12, 2020
1 parent 314d7e7 commit b628765
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ included some useful/optional subpackages: [middleware](/middleware), [render](h

## Install

`go get -u github.com/go-chi/chi@v4`
`go get -u github.com/go-chi/chi`


## Features
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/go-chi/chi

go 1.15
8 changes: 1 addition & 7 deletions middleware/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,8 @@ import (
"runtime"
"testing"
"time"

"golang.org/x/net/http2"
)

// NOTE: we must import `golang.org/x/net/http2` in order to explicitly enable
// http2 transports for certain tests. The runtime pkg does not have this dependency
// though as the transport configuration happens under the hood on go 1.7+.

var testdataDir string

func init() {
Expand Down Expand Up @@ -65,7 +59,7 @@ func TestWrapWriterHTTP2(t *testing.T) {
time.Sleep(100 * time.Millisecond)

client := &http.Client{
Transport: &http2.Transport{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
// The certificates we are using are self signed
InsecureSkipVerify: true,
Expand Down

0 comments on commit b628765

Please sign in to comment.