package main //包名 import "fmt" //实现了格式化IO //程序入口,若没有 init(),则先执行此函数 func main() { fmt.Println("Hello World") }
(一)注释
单行注释 //
多行注释 /* */
(二)标识符