break default func interface select
case defer go map struct
chan else goto package switch
const fallthrough if range type
continue for import return var
2.Go程序的一般结构
//当前程序的包名
package main
//导入其它的包
import "fmt"
//全部变量的声明与赋值
var name = "gopher"
//一般类型的声明
type newType int
//结构的声明
type gopher struct{}
//接口的声明
type golang interface{}
//由main函数作为程序入口点启动
func main() {
fmt.Println("Hello World!")
}