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!")
}