Skip to content

Rename formatting variables for --format flag#123

Merged
dominikbraun merged 2 commits intomainfrom
renamte-formatting-variables
Jun 14, 2021
Merged

Rename formatting variables for --format flag#123
dominikbraun merged 2 commits intomainfrom
renamte-formatting-variables

Conversation

@dominikbraun
Copy link
Copy Markdown
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.

Comment thread cli/status.go
@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