diff options
| author | Teddy Wing | 2017-06-03 12:14:44 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-06-03 12:20:42 +0200 | 
| commit | 44cb0e11566c7416c8859dac18baf24a0337ecce (patch) | |
| tree | a9aef11111a0b4e593aa841805f26d619974830c | |
| parent | 810b140b4a29b1159e76b51b90b9be7d22df1c3e (diff) | |
| download | timetasker-44cb0e11566c7416c8859dac18baf24a0337ecce.tar.bz2 | |
Project: Add a TOML tag for the WorkType field
Otherwise the TOML decoder didn't know how to parse it.
| -rw-r--r-- | timetask/fields.go | 2 | 
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  } | 
