diff options
Diffstat (limited to 'timetask/time_entry.go')
-rw-r--r-- | timetask/time_entry.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/timetask/time_entry.go b/timetask/time_entry.go index 1cb7bc8..a4d37ef 100644 --- a/timetask/time_entry.go +++ b/timetask/time_entry.go @@ -5,6 +5,7 @@ import "time" type TimeEntry struct { Client string Project string + Module string Task string WorkType string `yaml:"work_type"` Date time.Time @@ -18,6 +19,7 @@ func (te *TimeEntry) UnmarshalYAML(unmarshal func(interface{}) error) error { var auxiliary struct { Client string Project string + Module string Task string WorkType string `yaml:"work_type"` Date string @@ -38,6 +40,7 @@ func (te *TimeEntry) UnmarshalYAML(unmarshal func(interface{}) error) error { te.Client = auxiliary.Client te.Project = auxiliary.Project + te.Module = auxiliary.Module te.Task = auxiliary.Task te.WorkType = auxiliary.WorkType te.Date = date |