1
0
Fork 0
forked from External/grumble

Run go fmt and goimports on all files, to make them follow Golang standards

This commit is contained in:
Ola Bini 2019-12-20 22:51:21 +00:00
parent 4a90b31d8d
commit 76138f47fd
No known key found for this signature in database
GPG key ID: 6786A150F6A2B28F
15 changed files with 47 additions and 32 deletions

View file

@ -7,6 +7,7 @@ package cryptstate
import (
"crypto/aes"
"crypto/cipher"
"mumble.info/grumble/pkg/cryptstate/ocb2"
)

View file

@ -5,8 +5,9 @@
package cryptstate
import (
"golang.org/x/crypto/nacl/secretbox"
"unsafe"
"golang.org/x/crypto/nacl/secretbox"
)
// secretBoxMode implements the XSalsa20-Poly1305 CryptoMode

View file

@ -7,12 +7,13 @@ package freezer
import (
"bytes"
"encoding/binary"
"github.com/golang/protobuf/proto"
"hash/crc32"
"io"
"math"
"os"
"testing"
"github.com/golang/protobuf/proto"
)
var testValues []proto.Message = []proto.Message{

View file

@ -6,11 +6,12 @@ package freezer
import (
"encoding/binary"
"github.com/golang/protobuf/proto"
"hash"
"hash/crc32"
"io"
"math"
"github.com/golang/protobuf/proto"
)
// Checks whether the error err is an EOF

View file

@ -18,12 +18,13 @@ package freezer
import (
"bytes"
"encoding/binary"
"github.com/golang/protobuf/proto"
"hash"
"hash/crc32"
"io"
"math"
"os"
"github.com/golang/protobuf/proto"
)
// Log implements an append-only log for flattened