gokit工具集
go get github.com/go-kit/kit;
http请求路由组件
go get github.com/gorilla/mux;
- GO111MODULE 最好设置到环境变量中
Powershell下:
-
Enable the go modules feature
$env:GO111MODULE="on"
-
Set the GOPROXY environment variable
$env:GOPROXY="https://goproxy.io"
访问: http://localhost:9000/user/1
*[ ] todolist
https://github.com/metaverse/truss