vote-cli
提供数据库清空接口
如何跑起来
- 抓取项目
git clone [email protected]:Actooors/vote-cli.git
-
解决依赖
cd vote-cli dep ensure
-
将
conf_reference.json
复制到conf.json
,修改conf.json
中数据源配置 -
build并运行
go build ./vote-cli
或者使用docker
docker build -t vote-cli . docker run vote-cli
clear接口跑在/vote-cli/clear
,method:PATCH