diff options
author | Teddy Wing | 2017-06-03 13:02:03 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 13:02:03 +0200 |
commit | f017c462593496efbc0810ec2603da49a2e3d9d8 (patch) | |
tree | 093979e62d7e832ff272f57d3380beb1d9a18786 /timetask/http.go | |
parent | 758cf0bf7e899acee89ee4b8a39c5565622aee31 (diff) | |
download | timetasker-f017c462593496efbc0810ec2603da49a2e3d9d8.tar.bz2 |
Add `NewTimeEntry()`
A new function that creates a `TimeEntry` build from a `Profile`,
`Project`, and a few other parameters. Makes it a bit easier to create
`TimeEntry`ies.
Additionally, add a `PersonID` field to `TimeEntry` so we can pass it
around as a self-contained thing without worrying about having to pass
a `Profile` along with it.
Diffstat (limited to 'timetask/http.go')
0 files changed, 0 insertions, 0 deletions