https://github.com/sivaosorg/psqlconn
A Golang PostgreSQL connector library with comprehensive functionality, including database creation, batch execution, and transaction management.
https://github.com/sivaosorg/psqlconn
golang golang-application postgres postgresql postgresql-backup postgresql-database
Last synced: 2 months ago
JSON representation
A Golang PostgreSQL connector library with comprehensive functionality, including database creation, batch execution, and transaction management.
- Host: GitHub
- URL: https://github.com/sivaosorg/psqlconn
- Owner: sivaosorg
- Created: 2023-06-19T08:23:45.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T05:20:06.000Z (almost 2 years ago)
- Last Synced: 2025-01-15T18:45:37.404Z (over 1 year ago)
- Topics: golang, golang-application, postgres, postgresql, postgresql-backup, postgresql-database
- Language: Go
- Homepage: https://github.com/sivaosorg/psqlconn
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# psqlconn



A Golang PostgreSQL connector library with comprehensive functionality, including database creation, batch execution, and transaction management.
## Table of Contents
- [psqlconn](#psqlconn)
- [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
Welcome to the Postgres Connector for Go repository! This library provides a robust set of features for interacting with PostgreSQL databases in your Go applications. It includes the ability to create new databases, execute batch operations, and manage transactions efficiently.
## Prerequisites
Golang version v1.20
## Installation
- Latest version
```bash
go get -u github.com/sivaosorg/psqlconn@latest
```
- Use a specific version (tag)
```bash
go get github.com/sivaosorg/psqlconn@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
```