Skip to content

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

Notifications You must be signed in to change notification settings

sivaosorg/msqlconn

Repository files navigation

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/[email protected]

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