/redisconn

A Golang Redis connector library with features for Redis Pub/Sub, key-value operations, and distributed locking.

Primary LanguageGo

redisconn

GitHub contributors GitHub followers GitHub User's stars

A Golang Redis connector library with features for Redis Pub/Sub, key-value operations, and distributed locking.

Table of Contents

Introduction

Welcome to the Redis Connector for Go repository! This library provides a set of tools for seamless interaction with Redis in your Go applications. It includes features for Redis Pub/Sub, key-value operations, and distributed locking.

Prerequisites

Golang version v1.20

Installation

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