Documentation ¶
Index ¶
- func ErrUnparsable(s string) error
- func IDToString(id ID) string
- type Actionable
- type Activity
- func (a *Activity) AddTag(tag ID)
- func (a *Activity) Describe(description string)
- func (a Activity) Description() string
- func (a *Activity) Do()
- func (a Activity) Done() bool
- func (a *Activity) Identify(id ID)
- func (a Activity) Identity() ID
- func (a *Activity) RemoveTag(tag ID)
- func (a Activity) Tags() map[ID]struct{}
- func (a *Activity) Undo()
- func (a *Activity) Work(duration time.Duration)
- func (a Activity) Worked() time.Duration
- type Describable
- type Doable
- type ID
- type Identifiable
- type Taggable
- type Workable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrUnparsable ¶
func IDToString ¶ added in v0.1.0
Types ¶
type Actionable ¶
type Actionable interface { Identifiable Describable Workable Doable Taggable }
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func NewActivity ¶
func (Activity) Description ¶ added in v0.3.0
type Describable ¶
type Identifiable ¶
Click to show internal directories.
Click to hide internal directories.