官方教程地址 :https://golang.google.cn/doc/tutorial/getting-started

1.先安装golang安装包 https://golang.google.cn/dl/

2.编写hellowrld代码

package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

3.执行命令

go run hello.go

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2022-02-14
  • 2021-11-02
  • 2022-12-23
  • 2021-09-29
  • 2021-09-07
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2021-09-28
  • 2021-09-30
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案