新建hello.go

内容:

package main

import (
	"fmt"
)

func main() {

	fmt.Println("Hello liuyao")
}

运行:
	go run hello.go

如果要编译
	
	go build hello.go

演示:

1.go的Hello

相关文章:

  • 2021-07-15
  • 2021-12-04
  • 2021-08-10
  • 2021-06-30
  • 2021-05-20
  • 2021-08-10
  • 2021-06-15
  • 2022-12-23
猜你喜欢
  • 2021-09-05
  • 2022-02-05
  • 2021-08-26
  • 2021-07-19
  • 2021-06-27
  • 2022-03-11
  • 2022-12-23
相关资源
相似解决方案