The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
fire5

Debain 安装 revel 遇到问题: golang.org/x/sys/unix

  •  
  •   fire5 · Jun 11, 2016 · 2591 views
    This topic created in 3804 days ago, the information mentioned may be changed or developed.
    debain 上安装 revel ,

    先解决了 websocket 的问题,

    却出现了 : package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix"

    go get -v github.com/revel/revel
    Fetching https://golang.org/x/sys/unix?go-get=1
    https fetch failed.
    import "golang.org/x/sys/unix": https fetch: Get https://golang.org/x/sys/unix?go-get=1: dial tcp 216.58.203.17:443: i/o timeout
    package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix"

    uname-a
    inux iZ23towazphZ 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
    7 replies  •  2016-06-13 17:43:45 +08:00
    orFish
    orFish
    Jun 11, 2016
    1
    墙内是 get 不下来的
    fire5
    fire5
    OP
    Jun 11, 2016
    2
    @orFish 已经翻墙 解决了 websocket 的问题。
    fire5
    fire5
    OP
    Jun 12, 2016
    3
    主要这个 https://golang.org/x/sys/unix?go-get=1 已经被移走了。
    fuxiaohei
    fuxiaohei
    Jun 12, 2016
    4
    novaeye
    novaeye
    Jun 12, 2016
    5
    其实就是墙的锅啦~~和移不移走关系不大~~
    fire5
    fire5
    OP
    Jun 13, 2016
    6
    @fuxiaohei go get github.com/golang/sys
    can't load package: package github.com/golang/sys: no Go source files in /root/gowork/src/github.com/golang/sys
    fuxiaohei
    fuxiaohei
    Jun 13, 2016
    7
    @fire5 确认代码下载好就行, go install 只编译当前目录的源码,不会主动编译子目录里的除非 import
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1036 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:44 · PVG 02:44 · LAX 10:44 · JFK 13:44
    ♥ Do have faith in what you're doing.