https://go.dev/doc/tutorial/compile-install
查看默认安装路径,即go install 的目标位置:
go list -f '{{.Target}}'
go 打包的位置:默认为当前目录
https://go.dev/doc/tutorial/compile-install
查看默认安装路径,即go install 的目标位置:
go list -f '{{.Target}}'
go 打包的位置:默认为当前目录
本文标题:go 打包和安装
本文链接:https://www.haomeiwen.com/subject/qlorkdtx.html
网友评论