requestgen — Golang API Client 整合新利器

req := client.NewPlaceOrderRequest()
orderList, err := req.Symbol("BTCUSDT").
Price("3600").
Quantity("1.0").
OrderType("limit")
Do(ctx)
//go:generate requestgen -type PlaceOrderRequest

--

--

Yo-an Lin, yet another programmer in 21 century

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
c9s

c9s

Yo-an Lin, yet another programmer in 21 century