forked from External/grumble
Run go fmt and goimports on all files, to make them follow Golang standards
This commit is contained in:
parent
4a90b31d8d
commit
76138f47fd
15 changed files with 47 additions and 32 deletions
|
|
@ -7,6 +7,7 @@ package cryptstate
|
|||
import (
|
||||
"crypto/aes"
|
||||
"crypto/cipher"
|
||||
|
||||
"mumble.info/grumble/pkg/cryptstate/ocb2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue