mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 15:10:54 +00:00
linter: Enable gofumpt and run against codebase (#1848)
* linter: Enable gofumpt and run against codebase * Address shazbert's nits * gofumpt: Fix issues after rebase
This commit is contained in:
@@ -42,7 +42,7 @@ func MatchURLVals(v1, v2 url.Values) bool {
|
||||
|
||||
// DeriveURLValsFromJSONMap gets url vals from a map[string]string encoded JSON body
|
||||
func DeriveURLValsFromJSONMap(payload []byte) (url.Values, error) {
|
||||
var vals = url.Values{}
|
||||
vals := url.Values{}
|
||||
if len(payload) == 0 {
|
||||
return vals, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user