rethinkdb / rethinkdb-go

Go language driver for RethinkDB
Apache License 2.0
1.65k stars 182 forks source link

res.One(&row) expecting slice #459

Closed bjpine closed 5 years ago

bjpine commented 5 years ago
var row interface{}
res.One(&row)

Results in:

panic: result argument must be a slice address

Unexpected behaviour as not matching documentation on README

CMogilko commented 5 years ago

@pynoable hi, I can't reproduce this, see unittest https://github.com/rethinkdb/rethinkdb-go/blob/develop/cursor_test.go#L12 Can you specify more details?

bjpine commented 5 years ago

Unable to reproduce myself now.