mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
maxapi: drop unused mustParseURL
This commit is contained in:
parent
ce63723ff0
commit
aedd3e79d5
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue
Block a user