摘要: go time and rand: get the runtime os: slice operator wordcount: 闭包 check pointer strings.NewReader use golang regexp 阅读全文
posted @ 2018-09-16 12:38 运维技术 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 goalng struct 1.1 var s1 student 1.2 s2 := student {"zhou", 33} 1.3 s3 := student {Name:"zhou", Age:33} 1.4 s4 := new(student) // 包含空值的指针 1.5 s5 := 阅读全文
posted @ 2018-09-16 12:08 运维技术 阅读(88) 评论(0) 推荐(0) 编辑