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 routeInfoKey struct{}
|
||||||
|
|
||||||
type Router struct {
|
type Router struct {
|
||||||
chi.Mux
|
*chi.Mux
|
||||||
cache RouteCacher
|
cache RouteCacher
|
||||||
cacheTTL time.Duration
|
cacheTTL time.Duration
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user