RiverClient Init. Syntax Err #509
Answered
by
brandur
kashyap2108
asked this question in
Q&A
|
I followd the documentation and wrote a sample code. but this is showing syntax err. Is there any version issue here ? |
Answered by
brandur
Aug 6, 2024
Replies: 3 comments 1 reply
|
Same with the |
0 replies
|
Since you didn’t include an actual error message, it’s hard to diagnose the issue. But you can see in the executable examples that the documented forms work just fine on 1.21 and 1.22 (our supported versions): What Go version are you on? Or perhaps you have an editor or linter setup that can’t infer types properly? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is quite similar to #460, in which it turned out to be a misbehaving GoLand was requiring an explicit type parameter.