/*
*@go语言hello world
*@author lxm
*@time 2014.4.7
*/
package main
import "fmt"
func main() {
fmt.Printf("hello, world
")
}
通过命令: go run hello.go 运行该案例
/*
*@go语言hello world
*@author lxm
*@time 2014.4.7
*/
package main
import "fmt"
func main() {
fmt.Printf("hello, world
")
}
通过命令: go run hello.go 运行该案例