We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now we're doing: (sql.Rows*)dbc however we may want to use "type assertions" instead dbc.(sql.Rows*) http://golang.org/ref/spec#Type_assertions
(sql.Rows*)dbc
dbc.(sql.Rows*)
The text was updated successfully, but these errors were encountered:
When I try this I get the following error:
Godeps/_workspace/src/github.com/azavea/ecobenefits/eco/db.go:25: invalid type assertion: dbr.(*sql.Rows) (non-interface type *DBRow on left)
Looks like it's only for interfaces: http://stackoverflow.com/questions/18691927/go-named-type-assertions-and-conversions
Sorry, something went wrong.
No branches or pull requests
Right now we're doing:
(sql.Rows*)dbc
however we may want to use "type assertions" insteaddbc.(sql.Rows*)
http://golang.org/ref/spec#Type_assertionsThe text was updated successfully, but these errors were encountered: