-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify names of base service types involving generics for logging (#…
…518) A small improvement to base service so that when it's using reflect to get a name of the service's type for logging purposes, it strips a long path out of a generic type for a more succinct result. So this long, unsightly blemish: QueryCacher[[]*github.com/riverqueue/riverui/internal/dbsqlc.JobCountByStateRow] Would become this, which is quite a bit more tolerable: QueryCacher[[]*dbsqlc.JobCountByStateRow]
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters