最佳答案
我正在尝试为 main.go 文件安装自定义软件包
go install custom.go
我得到了这个错误
go install: no install location for .go files listed on command line (GOBIN not set)
如何设置 GOBIN?