aperture: run gofmt

This commit is contained in:
Olaoluwa Osuntokun
2021-11-24 13:38:03 -06:00
parent fe924036b8
commit abb13dc7c7
2 changed files with 4 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ type hashMailServerConfig struct {
// write pipes.
type hashMailServer struct {
hashmailrpc.UnimplementedHashMailServer
sync.RWMutex
streams map[streamID]*stream

View File

@@ -119,13 +119,13 @@ func TestHashMailServerLargeMessage(t *testing.T) {
require.NotNil(t, resp.GetSuccess())
// Let's create a long message and try to send it.
var largeMessage [512*DefaultBufSize]byte
var largeMessage [512 * DefaultBufSize]byte
_, err = rand.Read(largeMessage[:])
require.NoError(t, err)
sendCtx, sendCancel := context.WithCancel(context.Background())
defer sendCancel()
writeStream, err := client.SendStream(sendCtx)
require.NoError(t, err)
err = writeStream.Send(&hashmailrpc.CipherBox{