feat(Go-StudyExample): 新增 网络及端口测试、传值和传址的比较、切片测试、Map测试、通道测试、测试init调用、测试error、defer关键字、recover测试、测试携程的异常捕获、矩阵旋转

This commit is contained in:
huangzj
2020-07-13 17:02:04 +08:00
parent f5894a2680
commit 9ad10e8cd9
12 changed files with 514 additions and 13 deletions
+14
View File
@@ -0,0 +1,14 @@
package init
import "fmt"
type InitGo struct {
}
func Test() {
fmt.Println(" ")
}
func init() {
fmt.Println("i am init func")
}