Very minor clean-ups (import re-ordering by automated tooling) (#28)

This commit is contained in:
Michael Vorburger ⛑️
2021-12-12 01:20:19 +01:00
committed by GitHub
parent ca55bde751
commit 1f5ac0b49d
9 changed files with 31 additions and 27 deletions
+5 -4
View File
@@ -4,14 +4,15 @@ import (
"bufio"
"bytes"
"encoding/binary"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"golang.org/x/text/encoding/unicode"
"golang.org/x/text/transform"
"io"
"net"
"strings"
"time"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"golang.org/x/text/encoding/unicode"
"golang.org/x/text/transform"
)
func ReadPacket(reader io.Reader, addr net.Addr, state State) (*Packet, error) {
+2 -1
View File
@@ -2,9 +2,10 @@ package mcproto
import (
"bytes"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
)
func TestReadVarInt(t *testing.T) {