golang (iris/gin/beego等) 编译运行热编译工具(bee/gowatch)

本文推荐并介绍了Go语言开发中用于web框架如iris、gin、beego的热编译工具,重点提到了beego的bee工具以及gowatch。在开发过程中,通常使用bee run进行快速迭代,而在生产环境中推荐使用go build。gowatch作为类似bee的工具,提供了方便的文件监控和自动编译功能。对于bee工具的限制,例如其依赖于gopath,文章也做了简要说明。
摘要由CSDN通过智能技术生成

强烈推荐beego中的bee工具 也可仿照其源码写一个
我平时用的iris 用的都是bee run 生产环境建议go build运行

其次最近一直在使用gowatching 类似bee工具,bee工具好像是不能脱离gopath
码云

go get github.com/beego/bee
go get github.com/silenceper/gowatch 
gowatch 项目名(常用这种方式在开发环境gowa 按tab键就能补全直接跑)

Bee is a Fast and Flexible tool for managing your Beego Web Application.

Usage:

    bee command [arguments]

The commands are:

    version     show the bee & beego version
    migrate     run database migrations
    api         create an api application base on beego framework
    bale        packs non-Go files to Go source files    
    new         create an application base on beego framework
    run         run the app which can hot compile
    pack        compress an beego project
    fix         Fixes your application by making it compatible with newer versions of Beego
    dlv         Start
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值