From 1bc5632771b9daec3c521ab3353256099da02772 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Sun, 28 Sep 2014 12:05:25 +0100 Subject: [PATCH] Run go fmt -w --- common_test.go | 2 +- message.go | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common_test.go b/common_test.go index 8d62c8ee1..e337c7e5b 100644 --- a/common_test.go +++ b/common_test.go @@ -11,7 +11,7 @@ import ( type TestModel struct { data []byte - folder string + folder string name string offset int64 size int diff --git a/message.go b/message.go index 09cb323c8..a99f2d514 100644 --- a/message.go +++ b/message.go @@ -8,7 +8,7 @@ import "fmt" type IndexMessage struct { Folder string // max:64 - Files []FileInfo + Files []FileInfo } type FileInfo struct { @@ -91,9 +91,9 @@ func (b BlockInfo) String() string { type RequestMessage struct { Folder string // max:64 - Name string // max:8192 - Offset uint64 - Size uint32 + Name string // max:8192 + Offset uint64 + Size uint32 } type ResponseMessage struct { @@ -101,10 +101,10 @@ type ResponseMessage struct { } type ClusterConfigMessage struct { - ClientName string // max:64 - ClientVersion string // max:64 - Folders []Folder // max:64 - Options []Option // max:64 + ClientName string // max:64 + ClientVersion string // max:64 + Folders []Folder // max:64 + Options []Option // max:64 } func (o *ClusterConfigMessage) GetOption(key string) string { @@ -117,7 +117,7 @@ func (o *ClusterConfigMessage) GetOption(key string) string { } type Folder struct { - ID string // max:64 + ID string // max:64 Devices []Device // max:64 }