mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-05 07:26:47 +00:00
CI/build: Update Go version, linters and fix minor issues (#1473)
* CI/build: Update Go version, linters and fix minor issues * Bump golangci-lint to v1.56.1 * BinanceUS: Make uint usage consistent * Throw blank identifiers into the trash
This commit is contained in:
@@ -85,7 +85,7 @@ func NewVCRServer(path string) (string, *http.Client, error) {
|
||||
RegisterHandler(pattern, mockResponses, newMux)
|
||||
}
|
||||
} else {
|
||||
newMux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
newMux.HandleFunc("/", func(w http.ResponseWriter, _ *http.Request) {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
err := json.NewEncoder(w).Encode("There is no mock data available in file please record a new HTTP response. Please follow README.md in the mock package.")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user