Entry
typeEntry holds a single mood log.
Value
v0.Entry
entries
[]v0.EntryValue
<zero>
validMoods
[]string- OID
- 01b503…9f77:5
validMoods details
isValid
func(mood string) bool- OID
- 01b503…9f77:6
isValid details
emoji
func(mood string) string- OID
- 01b503…9f77:8
emoji details
shortAddr
func(addr .uverse.address) string- OID
- 01b503…9f77:9
shortAddr details
bar
func(count int, total int) string- OID
- 01b503…9f77:10
bar details
LogMood
func(mood string, note string)LogMood records the caller's current mood with an optional note. mood must be one of: happy sad excited calm anxious angry neutral
- OID
- 01b503…9f77:11
LogMood details
TotalEntries
func() intTotalEntries returns the total number of mood logs on record.
- OID
- 01b503…9f77:12
TotalEntries details
MoodCount
func(mood string) intMoodCount returns how many times the given mood has been logged.
- OID
- 01b503…9f77:13
MoodCount details
DominantMood
func() stringDominantMood returns the most-logged mood, or "none" if no entries.
- OID
- 01b503…9f77:14
DominantMood details
Render
func(path string) string- OID
- 01b503…9f77:15
Render details
Entry
:
type
=v0.Entry
entries
:
[]v0.Entry
=<zero>