chore: update to go 1.18 (#628)

* add make lint to Makefile
This commit is contained in:
Colin Adler
2022-03-28 14:14:40 -05:00
committed by GitHub
parent b33dec9d38
commit be8389fd74
13 changed files with 35 additions and 561 deletions

View File

@ -192,6 +192,7 @@ func TestConn(t *testing.T) {
_ = server.Serve(srv)
}()
//nolint:forcetypeassert
defaultTransport := http.DefaultTransport.(*http.Transport).Clone()
var cch *peer.Channel
defaultTransport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {