committed by
Sacha Al Himdani
parent
288c59a5f2
commit
f9216d30b2
@@ -28,6 +28,13 @@ const (
|
||||
TaskStateDone
|
||||
)
|
||||
|
||||
func TaskStates() []TaskState {
|
||||
return []TaskState{
|
||||
TaskStateTodo,
|
||||
TaskStateDone,
|
||||
}
|
||||
}
|
||||
|
||||
func (ts TaskState) MarshalText() ([]byte, error) {
|
||||
return []byte(ts.String()), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user