summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-15 01:35:36 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-15 01:35:36 +0100
commit74f8a74ecf8284fd4182cabab797f17bb18e7032 (patch)
treefccf6ded5d4a894b5863039b99ce977023bd0f79 /types.go
parent726b399e4747032a3d052339cd62c57ae5b6767c (diff)
Added Makefile -- gofmt
Diffstat (limited to 'types.go')
-rw-r--r--types.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/types.go b/types.go
index 6b5a384..50b278f 100644
--- a/types.go
+++ b/types.go
@@ -55,8 +55,8 @@ type SCORSHworker_state struct {
// The type SCORSHworker represents the configuration and state of a
// worker
type SCORSHworker struct {
- SCORSHworker_cfg `yaml:",inline"`
- SCORSHworker_state
+ SCORSHworker_cfg `yaml:",inline"`
+ SCORSHworker_state
}
// Configuration of the master
@@ -82,8 +82,6 @@ type SCORSHmaster struct {
SCORSHmaster_state
}
-
-
func (cfg *SCORSHmaster) String() string {
var buff bytes.Buffer
@@ -122,7 +120,6 @@ func (cfg *SCORSHmaster) String() string {
return buff.String()
}
-
func (msg *SCORSHmsg) String() string {
var buff bytes.Buffer
@@ -139,4 +136,3 @@ func (msg *SCORSHmsg) String() string {
return buff.String()
}
-