go-sqlserver

module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: Apache-2.0

README

go-sqlserver

GitHub tag (latest SemVer) test Go Reference codecov

The go-sqlserver is a database framework for implementing a MySQL-compatible and a PostgreSQL-compatible server using Go easily. This framework is ideal for building mock servers for testing, custom database solutions, or learning purposes.

What is the go-sqlserver?

The go-sqlserver provides a set of tools and libraries to create custom SQL servers that can handle MySQL and PostgreSQL protocols. It abstracts the complexities of protocol handling, query parsing, and execution, allowing developers to focus on implementing the business logic and data storage mechanisms.

The go-sqlserver provides a unified implementation framework of authentication and query handlers for both MySQL and PostgreSQL, allowing developers to build custom SQL servers that support both protocols. The framework is designed to be extensible, allowing developers to add custom query handlers, authentication mechanisms, and data storage backends. By using the framework , developers can easily build an SQL server that supports both MySQL and PostgreSQL protocols.

The go-sqlserver is currently implemented as an in-memory database using SQLite as the default data store. This allows for quick and efficient data operations without the need for an external database server.

Get Started

See the following guide to learn about how to get started.

The go-sqlserver is being developed in collaboration with the following Cybergarage projects:

Directories

Path Synopsis
cmd
sql
sqltest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL