go idea debug,fresh热重启
idea中搭建Golang环境(Windows版)https://www.cnblogs.com/sebuntin2020/p/12434134.html
IntelliJ Idea下Go项目开启Debug调试 https://blog.csdn.net/weixin_33904756/article/details/93523368
GoLand调试报错:Version of Delve is too old for this version of Go...
https://www.jianshu.com/p/d8ee9a6de835
https://www.codercto.com/a/108567.html
https://studygolang.com/articles/27906?fr=sidebar
dlv
github:https://github.com/go-delve/delve/
https://www.jianshu.com/p/2802d71ab9e9
https://www.jianshu.com/p/7373042bba83
Version of Delve is too old for this version of Go 报错,需要升级Delve
在go path执行:
go get github.com/go-delve/delve/cmd/dlv
在 /go/src/delve/cmd/dlv 执行:
go build go install
https://blog.csdn.net/oscarun/article/details/106712688
https://www.jianshu.com/p/d8ee9a6de835
http://www.zhihuclub.com/6831.shtml
fresh
1. cmd 打开命令窗口,输入一下命令 :
go get github.com/pilu/fresh
2. 跳转到要运行的项目的 根目录 ,运行 fresh 命令 。
fresh 将会自动运行项目的 main.go
热加载大功告成。
go 使用 fresh 实现热重启:https://blog.csdn.net/sss996/article/details/94722479