![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
go
人之初fzs
纸上得来终觉浅,绝知此事要躬行
展开
-
go 并发编程实践Day1
func MainDay1() { sayHello3() calGoroutineNum()}func learnMd5(){ data := []byte("hello world12312312fdsafadsfadfsdhpfauhsfuaohsfuhdsaufsdofhasdfhoasjdfholssfadsfasdfsadfs34324234234232342323423423423423423423423423a") has := md5.Sum(data) fmt.Pr...原创 2021-08-15 23:17:38 · 177 阅读 · 0 评论 -
go 并发编程实践Day2
go 并发编程实践Day2import ( "fmt" "math" "os" "sync" "text/tabwriter" "time")func Day2Main() { learnOnceDeadLock()}func learnOnceDeadLock(){ var onceA, onceB sync.Once var initB func() initA := func() {onceB.Do(initB)} initB = func() {onceA.Do(原创 2021-08-15 23:14:24 · 138 阅读 · 0 评论 -
Go RoadMap
go roadmaphttps://github.com/xitu/developer-roadmapGo Struct详解https://juejin.cn/post/6844903814168838151原创 2021-04-12 20:12:16 · 389 阅读 · 0 评论 -
go学习笔记day1
目录一、hello, world二、变量三、常量四、循环五、if/else 分支六、switch七、数组八、切片九、Map关联数组十、Range 遍历十一、函数十二、多返回值十三、可变参数的函数十四、闭包https://books.studygolang.com/gobyexample/一、hello, worldpackage mainimport "fmt"func main() { fmt.Println("h...原创 2020-12-06 20:22:17 · 668 阅读 · 0 评论