GO
go语言学习
scwenlm
这个作者很懒,什么都没留下…
展开
-
Go语言学习资料推荐
入门: Go入门指南 https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/directory.md Go语言圣经 https://boGoks.studygolang.com/gopl-zh/原创 2019-11-20 08:35:11 · 166 阅读 · 0 评论 -
go-位运算符的妙用
&运算 有效清除指定位的bit值 varxuint=0xAC x=x&0xF0//清除后四个bit位也可以写成x&=0xF0 2. 判断奇偶 ifx&1==1{ fmt.Println(“oddnumber”) }else{ fmt.Println(“even...原创 2019-11-20 08:20:09 · 646 阅读 · 0 评论