0
Follow
0
View

How to install Go programming application from a downloaded source code

cyk5597 注册会员
2023-01-24 19:52

using git clone (your link for repo/package you want) but you must check in your or move to folder $GOPATH

CSP13911663120 注册会员
2023-01-24 19:52

I believe you're looking for the go install command.

go install [build flags] [packages]

I followed these steps, and it installed just fine:

git clone https://github.com/richardlehane/siegfried.git
cd siegfried
go install ./cmd/sf
go install ./cmd/roy

➜ which sf
/Users/h4s/projects/go/bin/sf

➜ which roy
/Users/h4s/projects/go/bin/roy

About the Author

Question Info

Publish Time
2023-01-24 19:52
Update Time
2023-01-24 19:52

Related Question

How to retrieve the host name by IP with dnsjava library?

pytohn aes问题

Java升级导致Tomcat setenv.sh文件过期

autojs Pro设置无障碍服务开启关闭按钮的代码哪里错了

CellphoneDB将数据结果绘图报错Fatal error: unable to initialize the JIT

useSelector在分派后定义,但随后未定义

渲染来自Hugo中特定类别的帖子

Django apscheduler 定时任务执行的时候报错

How can I populate the "code" column for a VS Code problem created by my extension?

我们可以同时使用neo4j和mongodb吗?