10000 Rename formatting variables for `--format` flag by dominikbraun · Pull Request #123 · dominikbraun/timetrace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rename formatting variables for --format flag #123

New issu 8000 e

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

dominikbraun
Copy link
Owner

I noticed that two formatting variables had a slighty different name than the struct fields. I thought it would be nice if those names were the same:

type Report struct {
Current *Record
TrackedTimeCurrent *time.Duration
TrackedTimeToday time.Duration
BreakTimeToday time.Duration

This PR fixes that.

@dominikbraun dominikbraun added this to the timetrace v0.10.0 milestone Jun 13, 2021
@dominikbraun dominikbraun merged commit 2ac322d into main Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0