summaryrefslogtreecommitdiff
path: root/pkg/promises.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/promises.go')
-rw-r--r--pkg/promises.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/promises.go b/pkg/promises.go
index 0198296..340f35d 100644
--- a/pkg/promises.go
+++ b/pkg/promises.go
@@ -9,7 +9,8 @@ type Promise interface {
type Status int
const (
- PROMISED = iota
+ DECLARED = iota
+ PROMISED
BROKEN
KEPT
REPAIRED
@@ -17,6 +18,8 @@ const (
func (s Status) String() string {
switch s {
+ case DECLARED:
+ return "declared"
case PROMISED:
return "promised"
case BROKEN: