Skip to content
New issue

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

Few cosmetic tweaks #65

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

ItalyPaleAle
Copy link
Contributor

Just some small cosmetic tweaks.

  1. In the WorkItem interface, change the required method to IsWorkItem() bool which better identifies objects that are work items. Renamed Description() string to String() string so it implements the more idiomatic fmt.Stringer.
  2. Fixed a warning due to log.Fatalf not supporting %w

Just some small cosmetic tweaks.

1. In the WorkItem interface, change the required method to `IsWorkItem() bool` which better identifies objects that are work items. Renamed `Description() string` to `String() string` so it implements the more idiomatic `fmt.Stringer`.
2. Fixed a warning due to `log.Fatalf` not supporting `%w`
backend/workitem.go Show resolved Hide resolved
@ItalyPaleAle ItalyPaleAle merged commit 7d80cd4 into microsoft:main Feb 2, 2024
4 checks passed
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