go 项目开发热加载

### 使用用fresh 更简单 

 

 

六种热加载方法

https://www.jianshu.com/p/d7916f21d38c

go 使用 fresh 实现热重启、

https://blog.csdn.net/sss996/article/details/94722479

go 使用 air 实现热重启

https://www.liwenzhou.com/posts/Go/live_reload_with_air/

Golang热加载配置实践 https://studygolang.com/articles/5398

# 注意 Windows下 使用 需要  安装包之后

需要进入包的安装目录 如:E:\code\go\pkg\mod\github.com\cosmtrek\[email protected]

进入命令行 : 运行 go build 生成可执行 air.exe

再把安装目录 加入可执行文件目录

猜你喜欢

转载自blog.csdn.net/weixin_37989267/article/details/109312677