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" "encoding/binary"
"flag" "flag"
"fmt" "fmt"
"github.com/bradfitz/gomemcache/memcache"
"log" "log"
"time" "time"
"github.com/bradfitz/gomemcache/memcache"
) )
func makeKey(len int) []byte { func makeKey(len int) []byte {

View File

@ -5,8 +5,6 @@ import (
"crypto/tls" "crypto/tls"
"encoding/json" "encoding/json"
"fmt" "fmt"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
"io" "io"
"net" "net"
"net/http" "net/http"
@ -15,6 +13,9 @@ import (
"syscall" "syscall"
"testing" "testing"
"time" "time"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
) )
// TestH2H1PlainGET tests whether simple HTTP/2 GET request works. // TestH2H1PlainGET tests whether simple HTTP/2 GET request works.

View File

@ -7,10 +7,6 @@ import (
"encoding/binary" "encoding/binary"
"errors" "errors"
"fmt" "fmt"
"github.com/tatsuhiro-t/go-nghttp2"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
"golang.org/x/net/websocket"
"io" "io"
"net" "net"
"net/http" "net/http"
@ -24,6 +20,11 @@ import (
"syscall" "syscall"
"testing" "testing"
"time" "time"
"github.com/tatsuhiro-t/go-nghttp2"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
"golang.org/x/net/websocket"
) )
const ( const (