Rearrange imports

This commit is contained in:
Tatsuhiro Tsujikawa 2022-05-24 21:56:38 +09:00
parent 8bbd0363e9
commit 24d27977bd
3 changed files with 10 additions and 7 deletions

View File

@ -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 {

View File

@ -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.

View File

@ -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 (