Closed yields closed 7 years ago
Feels like you could just do stats.DefaultEngine.WithTags(tags...) instead of stats.WithTags(tags...). You save typing out .DefaultEngine, but probably worth it if this is a common use case.
stats.DefaultEngine.WithTags(tags...)
stats.WithTags(tags...)
.DefaultEngine
Code LGTM!
Exactly what I want to avoid :P
Feels like you could just do
stats.DefaultEngine.WithTags(tags...)
instead ofstats.WithTags(tags...)
. You save typing out.DefaultEngine
, but probably worth it if this is a common use case.Code LGTM!