simple

command module
v0.0.0-...-cbd77a4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

README

examples/simple

本demo依赖了redis,需要正确配置redis才能正常运行

在当前目录提供了一个docker-compose,可以方便在docker中运行一个redis服务(如果你本地安装了docker),命令如下:

docker-comopse up -d

使用docker-compose提供的redis运行

# 启动docker-compose中的redis服务
docker-compose up -d

#运行代码
go run main.go

#定制docker-compose中的redis服务
docker-compose down

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
interface

Jump to

Keyboard shortcuts

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