mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
gofmt -s -w
This commit is contained in:
parent
9a70ea90d1
commit
0277abe5d4
2 changed files with 4 additions and 5 deletions
|
@ -45,11 +45,10 @@ func TestEncryption(t *testing.T) {
|
|||
|
||||
}
|
||||
|
||||
|
||||
func TestNoEncryption(t *testing.T) {
|
||||
bob, err := New(nil, nil)
|
||||
assert.Nil(t, err)
|
||||
jane, err := New(nil,nil)
|
||||
jane, err := New(nil, nil)
|
||||
assert.Nil(t, err)
|
||||
enc, err := bob.Encrypt([]byte("hello, world"))
|
||||
assert.Nil(t, err)
|
||||
|
|
|
@ -3,10 +3,10 @@ package message
|
|||
import (
|
||||
"encoding/json"
|
||||
|
||||
log "github.com/schollz/logger"
|
||||
"github.com/schollz/croc/v6/src/comm"
|
||||
"github.com/schollz/croc/v6/src/compress"
|
||||
"github.com/schollz/croc/v6/src/crypt"
|
||||
log "github.com/schollz/logger"
|
||||
)
|
||||
|
||||
// Message is the possible payload for messaging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue