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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?