xormplus / xorm

xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
BSD 3-Clause "New" or "Revised" License
1.55k stars 222 forks source link

Type mismatch error #27

Closed morganwu closed 5 years ago

morganwu commented 5 years ago

With the latest version, v0.0.0-20190213073225-e433bd6691b1, I got following errors, it seems the types mismatch.

/go/pkg/mod/github.com/xormplus/xorm@v0.0.0-20190213073225-e433bd6691b1/session.go:297:13: cannot assign *sql.Stmt to stmt (type *core.Stmt) in multiple assignment
/go/pkg/mod/github.com/xormplus/xorm@v0.0.0-20190213073225-e433bd6691b1/session_raw.go:69:4: cannot use rows (type *sql.Rows) as type *core.Rows in return argument
/go/pkg/mod/github.com/xormplus/xorm@v0.0.0-20190213073225-e433bd6691b1/session_raw.go:76:3: cannot use rows (type *sql.Rows) as type *core.Rows in return argument
/go/pkg/mod/github.com/xormplus/xorm@v0.0.0-20190213073225-e433bd6691b1/session_raw.go:83:2: cannot use rows (type *sql.Rows) as type *core.Rows in return argument
/go/pkg/mod/github.com/xormplus/xorm@v0.0.0-20190213073225-e433bd6691b1/session_tx.go:16:14: cannot use tx (type *sql.Tx) as type *core.Tx in assignment
xormplus commented 5 years ago

pls update github.com/xormplus/core

morganwu commented 5 years ago

Yes, it works. Thanks.