From 74f8a74ecf8284fd4182cabab797f17bb18e7032 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 15 Jul 2017 01:35:36 +0100 Subject: Added Makefile -- gofmt --- types.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'types.go') 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() } - -- cgit v1.2.3