Skip to content

berksafran/go-redis-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Example of Using Redis by Go with Cobra CLI

go run main.go

A minimal example of using Redis by Go

Usage:
  go run main.go [command]

Available Commands:
  help        Help about any command
  normal      Run with Normal Mode including GET, SET, EXISTS examples
  pub         Run with Publisher Mode
  sub         Run with Subscription Mode

Flags:
  -c, --channel_name string   Channel Name (required) (default "default_chan")
  -h, --help                  help for go-redis-example

Use "go run main.go [command] --help" for more information about a command.

About

Minimal Redis example by using Go with Cobra CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages