diff --git a/internal/coordinator/session.go b/internal/coordinator/session.go index b11250e..01c6977 100644 --- a/internal/coordinator/session.go +++ b/internal/coordinator/session.go @@ -119,7 +119,7 @@ type SessionCommand struct { } func (s *SessionCommand) String() string { - return fmt.Sprintf("%v %v\n%v\n", s.ID, s.Command, s.GameCommand) + return fmt.Sprintf("%v %v %v\n", s.ID, s.Command, s.GameCommand) } type SessionCommandResult struct { @@ -130,5 +130,5 @@ type SessionCommandResult struct { } func (s *SessionCommandResult) String() string { - return fmt.Sprintf("%v %v\n%v\n", s.ID, s.Result, s.GameResult) + return fmt.Sprintf("%v %v %v\n", s.ID, s.Result, s.GameResult) }