Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
go mod 怎么查找自己的私有库
wsseo
·
Mar 28, 2019
· 2475 views
This topic created in 2784 days ago, the information mentioned may be changed or developed.
执行 go mod tidy 以后,第三方库默认放在~/go 目录下。 自己常用的私有库该放在哪?我查资料得知可以放在项目根目录,但是这样有很多重复。 有没有公共的地方可以放?
mod
私有
目录
TIDY
1 replies
•
2019-04-01 13:18:20 +08:00
nodwang
Apr 1, 2019
1
可以用 replace 引入本地其他 module 可以解君忧
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2270 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 00:21
·
PVG 08:21
·
LAX 16:21
·
JFK 19:21
♥ Do have faith in what you're doing.
❯