# go-mysqlstack **Repository Path**: xuender/go-mysqlstack ## Basic Information - **Project Name**: go-mysqlstack - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-27 - **Last Updated**: 2021-11-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://travis-ci.org/xelabs/go-mysqlstack.png)](https://travis-ci.org/xelabs/go-mysqlstack) [![Go Report Card](https://goreportcard.com/badge/gitee.com/xuender/go-mysqlstack)](https://goreportcard.com/report/gitee.com/xuender/go-mysqlstack) [![codecov.io](https://codecov.io/gh/xelabs/go-mysqlstack/graphs/badge.svg)](https://codecov.io/gh/xelabs/go-mysqlstack/branch/master) # go-mysqlstack ***go-mysqlstack*** is an MySQL protocol library implementing in Go (golang). Protocol is based on [mysqlproto-go](https://github.com/pubnative/mysqlproto-go) and [go-sql-driver](https://github.com/go-sql-driver/mysql) ## Running Tests ``` $ mkdir src $ export GOPATH=`pwd` $ go get -u gitee.com/xuender/go-mysqlstack/driver $ cd src/gitee.com/xuender/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] ``` 2. ***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:[[[10 nice name]]] ``` ## Status go-mysqlstack is production ready. ## License go-mysqlstack is released under the BSD-3-Clause License. See [LICENSE](https://gitee.com/xuender/go-mysqlstack/blob/master/LICENSE)