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

hello.go:2:9: import "fmt": cannot find package package runtime: import "runtime": cannot find package

  •  
  •   yakczh · Mar 26, 2013 · 3130 views
    This topic created in 4995 days ago, the information mentioned may be changed or developed.
    hello.go 源码

    package main
    import "fmt"
    func main() {
    fmt.Println("hello world")
    }
    1 replies  •  1970-01-01 08:00:00 +08:00
    myoula
    myoula
    Mar 26, 2013
    1
    看一下自己的GOROOT 和 GOPATH环境变量是否设置好
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2057 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:26 · PVG 14:26 · LAX 22:26 · JFK 01:26
    ♥ Do have faith in what you're doing.