Formatting with gofmt

master v0.4.1
Caj Larsson 3 years ago
parent d25f03e80c
commit 73ba8fc3b8

@ -77,7 +77,11 @@ func (s DataSwampService) SaveFile(ref swampfile.FileReference, src io.Reader, s
return swampfile.ErrContentSizeExceeded
}
f.Close()
err = f.Close()
if err != nil {
panic(err)
}
s.eventBus.Handle(*util.NewEvent("FileRecieved", struct {
Name string
Size int64

@ -1,6 +1,8 @@
package system_time
import "time"
import (
"time"
)
type Clock struct{}

Loading…
Cancel
Save