https://github.com/gregoryv/worklog
package for parsing timesheet file format
https://github.com/gregoryv/worklog
go golang timesheet
Last synced: 12 months ago
JSON representation
package for parsing timesheet file format
- Host: GitHub
- URL: https://github.com/gregoryv/worklog
- Owner: gregoryv
- License: mit
- Created: 2019-04-10T16:40:57.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-10-24T18:41:14.000Z (over 2 years ago)
- Last Synced: 2025-03-30T05:13:15.808Z (about 1 year ago)
- Topics: go, golang, timesheet
- Language: Go
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/gregoryv/worklog)
[](https://codecov.io/gh/gregoryv/worklog)
[](https://codeclimate.com/github/gregoryv/worklog/maintainability)
[worklog](https://godoc.org/github.com/gregoryv/worklog) - package for working with the [timesheet fileformat](https://github.com/gregoryv/timesheet-file-format)
## Quick Start
$ go get -u github.com/gregoryv/worklog/...
$ gensheet -h
This package contains parser and commands for manipulating timesheet
files.
Let's face it, timesheets are extremely boring to fill out so I
decided to fix that. Check out
the
[timesheet fileformat](https://github.com/gregoryv/timesheet-file-format),
it's readable, lightweight and versatile enough to accommodate most
situations.
By default the command `gensheet` generates an 8 hour working day
timesheet already filled out, assuming you will be working each
weekday. Save it, put it under version control, do what you want with
it.
To summarize your timesheets use the `worklog` command.
## Summarize one timesheet
$ worklog 201801.timesheet
2018 January 179:30 (8:00 semester)
+179:30
8:00 semester
## Expected vs. actual worked hours
worklog -origin expected/ 201801.timesheet
The output summarizes all tagged values and reported time and
calculates how much overtime you have put in if any. The `expected`
directory is assumed to contain a timesheet with the same name to
compare with.