Skip to content

Commit

Permalink
feat: wip on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerwill90 committed Nov 19, 2024
1 parent 7d84ee2 commit 57e6793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fox.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ func (fox *Router) newRoute(pattern string, handler HandlerFunc, opts ...RouteOp
return rte, n, nil
}

// getRoot load the tree atomically.
func (fox *Router) getRoot() *iTree {
r := fox.tree.Load()
return r
Expand Down

0 comments on commit 57e6793

Please sign in to comment.