-
-
Notifications
You must be signed in to change notification settings - Fork 345
FIX: [exchange] fix bugs and revise Coinbase request structs #1909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ed7d2c1
to
d1ad710
Compare
71bd270
to
2e2f732
Compare
3c99d2b
to
197fa51
Compare
197fa51
to
15d968d
Compare
15d968d
to
9e1f501
Compare
@@ -0,0 +1,3 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's helpful to all the vscode users so I add it here.
It will help Go extension to load the local env file (just as instructed in the README) while running tests in vscode.
Should I ignore this?
type GetCandlesResponse []RawCandle | ||
|
||
func (rc *RawCandle) Candle() *Candle { | ||
values := *rc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verify that the rc is not nil and that the slice length is as expected. ( e.q. len == 6 ). Otherwise, the service will panic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
slug
in the struct tags.