redis

command
v0.0.0-...-c294b08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

README

Setup for ch.5.6 for Redis

  • Step 1) Install and run Redis

  • Step 2) Launch the Redis server matching the DB constants.

      DB_PORT = "9191"
      DB_URL  = "127.0.0.1"
    
  • Step 3) Run go get to download and install the remote packages.

  • Step 4) Execute the program with go run main.go

Documentation

Overview

Example code for Chapter 5.6 from "Build Web Application with Golang" Purpose: Shows you have to perform basic CRUD operations for a redis driver.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL