package
6.5.12+incompatible
Repository: https://github.com/already/gomybatisql.git
Documentation: pkg.go.dev

# README

数据库驱动列表

 Mysql: github.com/go-sql-driver/mysql
 MyMysql: github.com/ziutek/mymysql/godrv
 Postgres: github.com/lib/pq
 Tidb: github.com/pingcap/tidb
 SQLite: github.com/mattn/go-sqlite3
 MsSql: github.com/denisenkom/go-mssqldb
 MsSql: github.com/lunny/godbc
 Oracle: github.com/mattn/go-oci8
 CockroachDB(Postgres): github.com/lib/pq

example运行教程

1 下载安装 GoLand(因为goland对test各种特性支持非常良好) 然后打开项目

2 设置好GoPath,用go get 命令下载GoMybatis和对应的数据库驱动

go get github.com/zhuxiujia/GoMybatis
go get github.com/go-sql-driver/mysql

3 导入example/database.sql 到 你的 mysql 数据库

4 修改Example_config.go中mysql数据库地址,在GoLand中点击 三角形绿色按钮 运行func Test..()开头的测试函数案例