Sqlx: Current package is backwards-incompatible

Created on 16 Mar 2018  路  2Comments  路  Source: jmoiron/sqlx

go get produces the following

# github.com/jmoiron/sqlx
go/src/github.com/jmoiron/sqlx/sqlx.go:232: undefined: sql.ColumnType
go/src/github.com/jmoiron/sqlx/sqlx.go:234: undefined: sql.ColumnType
go/src/github.com/jmoiron/sqlx/sqlx.go:236: r.rows.ColumnTypes undefined (type *sql.Rows has no field or method ColumnTypes)

Most helpful comment

sqlx probably requires Go 1.8 or above:

https://github.com/jmoiron/sqlx/blob/master/.travis.yml

All 2 comments

sqlx probably requires Go 1.8 or above:

https://github.com/jmoiron/sqlx/blob/master/.travis.yml

I just ran into this issue after downloading. Could you please put this in the README.md. There is only a mention of version 1.6 potentially having an issue. I have a unique problem in that I can't upgrade to version 1.8 but the README should just state that it requires 1.8 to use this package. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davisford picture davisford  路  5Comments

pt-arvind picture pt-arvind  路  4Comments

davidxiao picture davidxiao  路  5Comments

webRat picture webRat  路  4Comments

railsmechanic picture railsmechanic  路  5Comments