Skip to content
5 changes: 5 additions & 0 deletions src/command/status/events.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package status

import (
"fmt"
state "github.com/hekmekk/git-team/src/shared/state/entity"
)

Expand All @@ -10,6 +11,10 @@ type StateRetrievalSucceeded struct {
StateAsJson bool
}

func (s StateRetrievalSucceeded) String() string {
return fmt.Sprintf("%s", s.State)
}

// StateRetrievalFailed failed to get the current state
type StateRetrievalFailed struct {
Reason error
Expand Down