aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/fields.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 11:47:26 +0200
committerTeddy Wing2017-06-03 11:47:26 +0200
commit302fbc3a9db675c24e3ca2cb0c99d1ae5b88180e (patch)
treef9099bdb355562cd27eee3a6a7021cc77022e086 /timetask/fields.go
parentc0576d6d96656f4a83e8bdff7cb0a09f455a0b10 (diff)
downloadtimetasker-302fbc3a9db675c24e3ca2cb0c99d1ae5b88180e.tar.bz2
time_entry.go: Rewrite `TimeEntry` type for the new era
Change [Client, Project, Module, Task, WorkType] fields to `int`s instead of strings. In the new era, with config2.toml, these fields will be populated directly with the proper int IDs from TimeTask. Thus these fields need to be `int`s. Get rid of the `UnmarshalYAML` function as in the new era we won't be submitting time entries by YAML file. Instead they will be submitted directly via command line arguments (plus the IDs coming from the config file).
Diffstat (limited to 'timetask/fields.go')
0 files changed, 0 insertions, 0 deletions