Benny66 / goStudy

golang基础知识学习代码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goStudy

golang基础知识学习代码

channel

  • 对比缓冲通道channel和for循环去计算1000000以内的质数花费时间

defer

  • defer的使用

goroutine

  • 了解goroutine结构,执行原理

memoryLeak

  • slice切片共享同一片内存地址引起的内存泄露

rune

  • rune的了解及rune、byte、string的区别

About

golang基础知识学习代码

License:Apache License 2.0


Languages

Language:Go 100.0%