Posted by
夏泽民
Aug 21, 2021
```
func main(){
a:=1
b:=2
fmt.Println(a+b)
c:=make(chan struct{})
go func (){
for {
_,ok:=<-c
if ok{
fmt.Println(“ok”)
}else{
fmt.Println(“not ok”)
}
}
}()
Posted by
夏泽民
Aug 21, 2021
https://docs.ceph.com/en/latest/glossary/#term-Ceph-Object-Gateway
Posted by
夏泽民
Aug 16, 2021
Go 语言中,range 可以用来很方便地遍历数组(array)、切片(slice)、字典(map)和信道(chan)
Posted by
夏泽民
Aug 16, 2021
go run github.com/google/pprof -http localhost:8080 -diff_base A.pb.gz B.pb.gz