refactor(routing): use pointer
This commit is contained in:
parent
b306d2cb31
commit
04842fd38d
@ -38,7 +38,7 @@ func NewRouteInfo(method, path, description, title string) (*RouteInfo, error) {
|
||||
type routeInfoKey struct{}
|
||||
|
||||
type Router struct {
|
||||
chi.Mux
|
||||
*chi.Mux
|
||||
cache RouteCacher
|
||||
cacheTTL time.Duration
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user