Thanks, @tianon ❤️
This commit is contained in:
parent
45cf18ff46
commit
0c8155ad91
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -62,7 +62,7 @@ func loadRoutes(packages []Package) (routes map[string]*Package) {
|
||||||
|
|
||||||
for _, pkg := range packages {
|
for _, pkg := range packages {
|
||||||
for _, route := range pkg.GetRoutes() {
|
for _, route := range pkg.GetRoutes() {
|
||||||
routes[route] = &pkg
|
routes[route] = pkg
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue