package main //声明文件所在包 import "fmt" //引入程序中需要的函数 func main(){ //main 主函数 程序入口 fmt.Println("hello world") }