0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 21:30:16 +02:00

gofmt -s -w

This commit is contained in:
Zack Scholl 2019-09-07 09:41:24 -07:00
parent 9a70ea90d1
commit 0277abe5d4
2 changed files with 4 additions and 5 deletions

View file

@ -45,11 +45,10 @@ func TestEncryption(t *testing.T) {
} }
func TestNoEncryption(t *testing.T) { func TestNoEncryption(t *testing.T) {
bob, err := New(nil, nil) bob, err := New(nil, nil)
assert.Nil(t, err) assert.Nil(t, err)
jane, err := New(nil,nil) jane, err := New(nil, nil)
assert.Nil(t, err) assert.Nil(t, err)
enc, err := bob.Encrypt([]byte("hello, world")) enc, err := bob.Encrypt([]byte("hello, world"))
assert.Nil(t, err) assert.Nil(t, err)

View file

@ -3,10 +3,10 @@ package message
import ( import (
"encoding/json" "encoding/json"
log "github.com/schollz/logger"
"github.com/schollz/croc/v6/src/comm" "github.com/schollz/croc/v6/src/comm"
"github.com/schollz/croc/v6/src/compress" "github.com/schollz/croc/v6/src/compress"
"github.com/schollz/croc/v6/src/crypt" "github.com/schollz/croc/v6/src/crypt"
log "github.com/schollz/logger"
) )
// Message is the possible payload for messaging // Message is the possible payload for messaging