The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
4679kun

请教各位一个问题

  •  
  •   4679kun · Apr 19, 2016 · 2027 views
    This topic created in 3701 days ago, the information mentioned may be changed or developed.
    我想改 gogs 的源码,把 ssh 的 clone 链接改成 openshift 上可用的形式,于是我做出如下修改
    https://github.com/4679/gogs/commit/48e13022dafe58769665fb0ebe1f4a8d1f1daae7

    然而我重新部署之后 依然是

    [email protected]:4679kun/test.git

    这种格式 没有变成我想要的

    [email protected]:~/app-root/data/gogs-repositories/4679kun/test.git

    这种格式 是哪里出了问题呢
    1 replies    2016-04-19 12:46:59 +08:00
    SpicyCat
        1
    SpicyCat  
       Apr 19, 2016
    写法上觉得没问题。 debug 下呗?写个 print 语句看看是不是走到那个分支了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2059 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:12 · PVG 00:12 · LAX 09:12 · JFK 12:12
    ♥ Do have faith in what you're doing.