You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Options handling.
Deprecate OptionFn which was an implementation detail that is not needed
anymore.
This change is fully source compatible with existing client code. Also,
as implementation details are now hidden behind the private 'option'
type, the API is more future-proof.
Full rationale for this change: #3612
Note: golangci-lint 2.1.6 reports lint error "unexported-return: exported func
WithAnalytics returns unexported type gin.Option, which can be annoying to use (revive)"
However this is false positive that I have reported in
mgechev/revive#1406.
0 commit comments