## Mix Dev Tool Mix Go 的 [源码仓库](https://github.com/mix-go/mix) 中不仅包含全部组件的源码,还包含一个开发工具: - 可以生成 `console`, `api`, `web`, `grpc` 等骨架代码 - 热更新工具 (开发中) ### Installation - 安装 ``` go get -u github.com/mix-go/mix ``` ### Help 查看命令帮助 ~~~ $ mix Usage: mix [OPTIONS] COMMAND [opt...] Commands: version Prints the current Mix Go version new Create a console application api Create a api application web Create a web application grpc Create a gRPC application Global Options: -h, --help Print usage -v, --version Print version information Run 'mix COMMAND --help' for more information on a command. Developed with Mix Go framework. (openmix.org/mix-go) ~~~ ### New application 创建应用骨架 - console ~~~ mix new --name=hello ~~~ - api ~~~ mix api --name=hello ~~~ - web (含websocket) ~~~ mix web --name=hello ~~~ - grpc ~~~ mix grpc --name=hello ~~~ ## License Apache License Version 2.0, http://www.apache.org/licenses/