Fix documentation comment
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/BBVA/kapow/internal/http"
|
"github.com/BBVA/kapow/internal/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ListRoutes list the routes registered on the kapow! instance
|
// ListRoutes queries the kapow! instance for the routes that are registered
|
||||||
func ListRoutes(host string, w io.Writer) error {
|
func ListRoutes(host string, w io.Writer) error {
|
||||||
url := host + "/routes/"
|
url := host + "/routes/"
|
||||||
return http.Get(url, "", nil, w)
|
return http.Get(url, "", nil, w)
|
||||||
|
|||||||
Reference in New Issue
Block a user