go-mysqlstack

在 Go(golang)中实现 MySQL 协议库。「MySQL protocol library implementing in Go (golang)」

Github星跟踪图

Build Status Go Report Card codecov.io

go-mysqlstack

go-mysqlstack is an MySQL protocol library implementing in Go (golang).

Protocol is based on mysqlproto-go and go-sql-driver

Running Tests

$ mkdir src
$ export GOPATH=`pwd`
$ go get -u github.com/xelabs/go-mysqlstack/driver
$ cd src/github.com/xelabs/go-mysqlstack/
$ make test

Examples

  1. examples/mysqld.go mocks a MySQL server by running:
$ go run example/mysqld.go
  2018/01/26 16:02:02.304376 mysqld.go:52:     [INFO]    mysqld.server.start.address[:4407]
  1. examples/client.go mocks a client and query from the mock MySQL server:
$ go run example/client.go
  2018/01/26 16:06:10.779340 client.go:32:    [INFO]    results:[]

Status

go-mysqlstack is production ready.

License

go-mysqlstack is released under the BSD-3-Clause License. See LICENSE

主要指标

概览
名称与所有者xelabs/go-mysqlstack
主编程语言Go
编程语言Go (语言数: 3)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2016-11-28 01:58:04
推送于2021-05-12 09:29:20
最后一次提交2021-05-12 17:29:20
发布数1
最新版本名称v1.0.0 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数243
关注者数16
派生数39
提交数53
已启用问题?
问题数10
打开的问题数2
拉请求数6
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?