mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
String concatenation/conversion/formatting improvements (#393)
* Magic strings * Comment, format and builder fixes
This commit is contained in:
committed by
Adrian Gallagher
parent
17a786536d
commit
8c30505d46
@@ -282,7 +282,7 @@ func GetURIPath(uri string) string {
|
||||
return ""
|
||||
}
|
||||
if urip.RawQuery != "" {
|
||||
return fmt.Sprintf("%s?%s", urip.Path, urip.RawQuery)
|
||||
return urip.Path + "?" + urip.RawQuery
|
||||
}
|
||||
return urip.Path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user