Skip to content
Snippets Groups Projects
Commit 6d3f230a authored by fangyincheng's avatar fangyincheng
Browse files

Mod:go fmt

parent fc42a4b9
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ func (refconfig *ReferenceConfig) Refer() { ...@@ -87,7 +87,7 @@ func (refconfig *ReferenceConfig) Refer() {
refconfig.urls = append(refconfig.urls, &serviceUrl) refconfig.urls = append(refconfig.urls, &serviceUrl)
} else { } else {
if serviceUrl.Path == "" { if serviceUrl.Path == "" {
serviceUrl.Path = "/" + refconfig.InterfaceName serviceUrl.Path = "/" + refconfig.InterfaceName
} }
// merge url need to do // merge url need to do
newUrl := common.MergeUrl(serviceUrl, url) newUrl := common.MergeUrl(serviceUrl, url)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment