Skip to content
Snippets Groups Projects
Unverified Commit f1a52422 authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Update route.go

parent c27a029b
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ func (r *Route) AddPath(p *Path) { ...@@ -80,7 +80,7 @@ func (r *Route) AddPath(p *Path) {
r.paths = append(r.paths, p) r.paths = append(r.paths, p)
} }
// RemovePath removes path `p` from route `r`. Returns length of path list after removing path `rm` // RemovePath removes path `p` from route `r`. Returns length of path list after removing path `p`
func (r *Route) RemovePath(p *Path) int { func (r *Route) RemovePath(p *Path) int {
if p == nil { if p == nil {
return len(r.paths) return len(r.paths)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment