aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 13:02:03 +0200
committerTeddy Wing2017-06-03 13:02:03 +0200
commitf017c462593496efbc0810ec2603da49a2e3d9d8 (patch)
tree093979e62d7e832ff272f57d3380beb1d9a18786 /main.go
parent758cf0bf7e899acee89ee4b8a39c5565622aee31 (diff)
downloadtimetasker-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 'main.go')
0 files changed, 0 insertions, 0 deletions