aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
Diffstat (limited to 'messages.go')
-rw-r--r--messages.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/messages.go b/messages.go
index e5e77ae..bd673ba 100644
--- a/messages.go
+++ b/messages.go
@@ -110,6 +110,10 @@ func (s *Status) UnmarshalText(b []byte) error {
return fmt.Errorf("unknown status %v", string(b))
}
+func (s Status) String() string {
+ return status[s]
+}
+
type Resource int
const (