sivaosorg / msqlconn

A Golang MySQL connector library with built-in functionality to create a new database, execute batch operations, and manage transactions.

Home Page:https://github.com/sivaosorg/msqlconn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

msqlconn

GitHub contributors GitHub followers GitHub User's stars

A Golang MySQL connector library with built-in functionality to create a new database, execute batch operations, and manage transactions.

Table of Contents

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
go get -u github.com/sivaosorg/msqlconn@latest
  • Use a specific version (tag)
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:

make test

Tidying up Modules

To tidy up the project's Go modules, use the following command:

make tidy

Upgrading Dependencies

To upgrade project dependencies, use the following command:

make deps-upgrade

Cleaning Dependency Cache

To clean the Go module cache, use the following command:

make deps-clean-cache

About

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


Languages

Language:Go 90.7%Language:Makefile 9.3%