[阅读: 455] 2010-04-22 14:27:33
cat demo.go
package main
import "fmt"
func main() {
fmt.Printf("Hello, 世界\n")
}
8g demo.go
demo.go:3: fatal error: can't find import: fmt
ls ${GOROOT}/${GOOS}_${GOARCH}/
archive ebnf.a hash.a math.a rpc.a template.a
asn1.a encoding http.a net.a runtime.a testing
big.a exec.a image once.a scanner.a testing.a
bignum.a exp image.a os sort.a time.a
bufio.a expvar.a io os.a strconv.a unicode.a
bytes.a flag.a io.a patch.a strings.a utf8.a
compress fmt.a json.a path.a sync.a websocket.a
container go libcgo.so rand.a syscall.a xgb.a
crypto gob.a log.a reflect.a syslog.a xml.a
debug hash malloc.a regexp.a tabwriter.a