aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/fields.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 12:14:44 +0200
committerTeddy Wing2017-06-03 12:20:42 +0200
commit44cb0e11566c7416c8859dac18baf24a0337ecce (patch)
treea9aef11111a0b4e593aa841805f26d619974830c /timetask/fields.go
parent810b140b4a29b1159e76b51b90b9be7d22df1c3e (diff)
downloadtimetasker-44cb0e11566c7416c8859dac18baf24a0337ecce.tar.bz2
Project: Add a TOML tag for the WorkType field
Otherwise the TOML decoder didn't know how to parse it.
Diffstat (limited to 'timetask/fields.go')
-rw-r--r--timetask/fields.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/timetask/fields.go b/timetask/fields.go
index da2b37d..f535d92 100644
--- a/timetask/fields.go
+++ b/timetask/fields.go
@@ -21,7 +21,7 @@ type Project struct {
Project int
Module int
Task int
- WorkType int
+ WorkType int `toml:"work_type"`
Time int
Billable bool
}