mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
gofmt
This commit is contained in:
@@ -452,8 +452,8 @@ func (r *registryRouter) Route(req *http.Request) (*router.Route, error) {
|
|||||||
handler = "rpc"
|
handler = "rpc"
|
||||||
}
|
}
|
||||||
|
|
||||||
// extract endpoint from Path, case-sensitive
|
// extract endpoint from Path, case-sensitive
|
||||||
// just test it in this case, maybe should put the code somewhere else
|
// just test it in this case, maybe should put the code somewhere else
|
||||||
ep_name := rsp.Method
|
ep_name := rsp.Method
|
||||||
comps := strings.Split(rsp.Path, "/")
|
comps := strings.Split(rsp.Path, "/")
|
||||||
switch len(comps) {
|
switch len(comps) {
|
||||||
|
|||||||
Reference in New Issue
Block a user