diff options
author | Teddy Wing | 2017-06-03 11:47:26 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 11:47:26 +0200 |
commit | 302fbc3a9db675c24e3ca2cb0c99d1ae5b88180e (patch) | |
tree | f9099bdb355562cd27eee3a6a7021cc77022e086 /timetask/http_test.go | |
parent | c0576d6d96656f4a83e8bdff7cb0a09f455a0b10 (diff) | |
download | timetasker-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/http_test.go')
0 files changed, 0 insertions, 0 deletions