summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/statemachine.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dolmetschctld/statemachine.go')
-rw-r--r--cmd/dolmetschctld/statemachine.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/dolmetschctld/statemachine.go b/cmd/dolmetschctld/statemachine.go
index b1e74c7..7082460 100644
--- a/cmd/dolmetschctld/statemachine.go
+++ b/cmd/dolmetschctld/statemachine.go
@@ -51,6 +51,11 @@ func (s State) String() string {
}
}
+func (s State) MarshalText() (data []byte, err error) {
+ data = []byte(s.String())
+ return
+}
+
type Language string
func (l Language) String() string {