go Realize是什么
时间:2023-02-06 13:56
Realize是一个Go工具,专注于加快和改善开发人员的工作流程,自动化用户的工作流程,集成第三方的其他工具,定义自定义cli命令,并在每次更改时重新加载项目,而不必停止编写代码;执行“go get github.com/tockins/realize”命令即可安装Realize工具。 本教程操作环境:windows7系统、GO 1.18版本、Dell G3电脑。 Go Realize Realize 是一个 Go 工具,专注于加快和改善开发人员的工作流程,自动化用户的工作流程,集成第三方的其他工具,定义自定义 cli 命令,并在每次更改时重新加载项目,而不必停止编写代码。(地址:https://github.com/oxequa/realize ) 特征: 高度可定制 逐步设置 实时重新加载 支持多个项目 将日志保存到文件 用于智能视图的Web面板 构建、安装、运行、测试、fmt、生成、审核等 监视自定义路径和特定文件扩展名 多种监视方法(轮询、文件监视程序) Docker支持 安装 运行此命令以获取/安装: 命令 运行Run 从项目根执行: 它将创建一个realize.yaml文件,如果它还不存在,将工作目录添加为项目并运行管道。 “运行”命令支持以下自定义参数: 示例: 【相关推荐:Go视频教程、编程教学】 以上就是go Realize是什么的详细内容,更多请关注gxlsystem.com其它相关文章!$ go get github.com/tockins/realize
$ realize run
--name="name" -> Run by name on existing configuration
--path="realize/server" -> Custom Path, if not specified takes the working directory name
--build -> Enable go build
--no-run -> Disable go run
--no-install -> Disable go install
--no-config -> Ignore an existing config / skip the creation of a new one
--server -> Enable the web server
--legacy -> Enable legacy watch instead of Fsnotify watch
--generate -> Enable go generate
--test -> Enable go test
--open -> Open in default browser
$ realize run
$ realize run --path="mypath"
$ realize run --name="My Project" --build
$ realize run --path="realize" --no-run --no-config
$ realize run --path="/Users/alessio/go/src/github.com/tockins/realize-examples/coin/"