func init() { fmt.Println("main init") } init 函数会在最开始执行, 导入包,会先执行包中的init函数
func init() {
fmt.Println("main init")
}
init 函数会在最开始执行, 导入包,会先执行包中的init函数