V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
hujianxin
V2EX  ›  Go 编程语言

go get golang.org/x/tools/... 这种自定义域名的实现原理是什么?

  •  
  •   hujianxin · 2019-08-14 10:38:16 +08:00 · 2914 次点击
    这是一个创建于 1689 天前的主题,其中的信息可能已经有所发展或是发生改变。

    一般情况,我们都是 go get github.com/xxx/xxx

    而我想通过自定义域名来让用户下载一个包,就像 golang.org 这样,原理是什么样的呢?

    有没有大佬看过这个问题?

    iKun66
        1
    iKun66  
       2019-08-14 10:47:19 +08:00
    首先你需要有域名
    oott123
        2
    oott123  
       2019-08-14 11:03:45 +08:00
    hujianxin
        3
    hujianxin  
    OP
       2019-08-14 11:12:13 +08:00
    @oott123 多谢多谢,发完问题之后我找到了这个方法
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5811 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:21 · PVG 14:21 · LAX 23:21 · JFK 02:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.