go-mysqlstack

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

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerxelabs/go-mysqlstack
Primary LanguageGo
Program languageGo (Language Count: 3)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2016-11-28 01:58:04
Pushed At2021-05-12 09:29:20
Last Commit At2021-05-12 17:29:20
Release Count1
Last Release Namev1.0.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count243
Watchers Count16
Fork Count39
Commits Count53
Has Issues Enabled
Issues Count10
Issue Open Count2
Pull Requests Count6
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private