https://github.com/sivaosorg/msqlconn
A Golang MySQL connector library with built-in functionality to create a new database, execute batch operations, and manage transactions.
https://github.com/sivaosorg/msqlconn
golang golang-application golang-library mysql mysql-connector mysql-database mysql8 mysqlclient
Last synced: 3 months ago
JSON representation
A Golang MySQL connector library with built-in functionality to create a new database, execute batch operations, and manage transactions.
- Host: GitHub
- URL: https://github.com/sivaosorg/msqlconn
- Owner: sivaosorg
- Created: 2023-06-25T05:33:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T05:27:26.000Z (over 1 year ago)
- Last Synced: 2025-03-22T05:23:35.611Z (about 1 year ago)
- Topics: golang, golang-application, golang-library, mysql, mysql-connector, mysql-database, mysql8, mysqlclient
- Language: Go
- Homepage: https://github.com/sivaosorg/msqlconn
- Size: 29.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# msqlconn



A Golang MySQL connector library with built-in functionality to create a new database, execute batch operations, and manage transactions.
## Table of Contents
- [msqlconn](#msqlconn)
- [Table of Contents](#table-of-contents)
- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Modules](#modules)
- [Running Tests](#running-tests)
- [Tidying up Modules](#tidying-up-modules)
- [Upgrading Dependencies](#upgrading-dependencies)
- [Cleaning Dependency Cache](#cleaning-dependency-cache)
## Introduction
This Golang repository provides a MySQL connector package along with a set of services for handling common database operations. It simplifies the process of creating new databases, executing batch queries, and managing transactions in a MySQL database using Golang.
## Prerequisites
Golang version v1.20
## Installation
- Latest version
```bash
go get -u github.com/sivaosorg/msqlconn@latest
```
- Use a specific version (tag)
```bash
go get github.com/sivaosorg/msqlconn@v0.0.1
```
## Modules
Explain how users can interact with the various modules.
### Running Tests
To run tests for all modules, use the following command:
```bash
make test
```
### Tidying up Modules
To tidy up the project's Go modules, use the following command:
```bash
make tidy
```
### Upgrading Dependencies
To upgrade project dependencies, use the following command:
```bash
make deps-upgrade
```
### Cleaning Dependency Cache
To clean the Go module cache, use the following command:
```bash
make deps-clean-cache
```