From 24d27977bdcb2c24f9f92d92d325dec777a6da5f Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 24 May 2022 21:56:38 +0900 Subject: [PATCH] Rearrange imports --- contrib/tlsticketupdate.go | 3 ++- integration-tests/nghttpx_http2_test.go | 5 +++-- integration-tests/server_tester.go | 9 +++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/contrib/tlsticketupdate.go b/contrib/tlsticketupdate.go index 996e8358..ff3d7596 100644 --- a/contrib/tlsticketupdate.go +++ b/contrib/tlsticketupdate.go @@ -30,9 +30,10 @@ import ( "encoding/binary" "flag" "fmt" - "github.com/bradfitz/gomemcache/memcache" "log" "time" + + "github.com/bradfitz/gomemcache/memcache" ) func makeKey(len int) []byte { diff --git a/integration-tests/nghttpx_http2_test.go b/integration-tests/nghttpx_http2_test.go index 10547e3f..30ebe3c9 100644 --- a/integration-tests/nghttpx_http2_test.go +++ b/integration-tests/nghttpx_http2_test.go @@ -5,8 +5,6 @@ import ( "crypto/tls" "encoding/json" "fmt" - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" "io" "net" "net/http" @@ -15,6 +13,9 @@ import ( "syscall" "testing" "time" + + "golang.org/x/net/http2" + "golang.org/x/net/http2/hpack" ) // TestH2H1PlainGET tests whether simple HTTP/2 GET request works. diff --git a/integration-tests/server_tester.go b/integration-tests/server_tester.go index 5b32f6f7..1eed639c 100644 --- a/integration-tests/server_tester.go +++ b/integration-tests/server_tester.go @@ -7,10 +7,6 @@ import ( "encoding/binary" "errors" "fmt" - "github.com/tatsuhiro-t/go-nghttp2" - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" - "golang.org/x/net/websocket" "io" "net" "net/http" @@ -24,6 +20,11 @@ import ( "syscall" "testing" "time" + + "github.com/tatsuhiro-t/go-nghttp2" + "golang.org/x/net/http2" + "golang.org/x/net/http2/hpack" + "golang.org/x/net/websocket" ) const (