RiverClient Init. Syntax Err #509
-
I followd the documentation and wrote a sample code.
but this is showing syntax err.
Is there any version issue here ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Same with the |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
This is quite similar to #460, in which it turned out to be a misbehaving GoLand was requiring an explicit type parameter. |
Beta Was this translation helpful? Give feedback.
This is quite similar to #460, in which it turned out to be a misbehaving GoLand was requiring an explicit type parameter.