maxapi: drop unused mustParseURL

This commit is contained in:
c9s 2022-06-17 12:52:22 +08:00
parent ce63723ff0
commit aedd3e79d5
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -4,20 +4,10 @@ package max
//go:generate -command PostRequest requestgen -method POST
import (
"net/url"
"github.com/c9s/bbgo/pkg/fixedpoint"
"github.com/c9s/bbgo/pkg/types"
)
func mustParseURL(s string) *url.URL {
u, err := url.Parse(s)
if err != nil {
panic(err)
}
return u
}
type WalletType string
const (