sync.Once

Posted by 夏泽民

在多数情况下,sync.Once 被用于控制变量的初始化,这个变量的读写通常遵循单例模式,满足这三个条件:



select

Posted by 夏泽民

跟 switch-case 相比,select-case 用法比较单一,它仅能用于 信道/通道 的相关操作。



kafka

Posted by 夏泽民

https://github.com/Blizzard/node-rdkafka



elasticsearch

Posted by 夏泽民

github.com/olivere/elastic



bluebird

Posted by 夏泽民

https://github.com/petkaantonov/bluebird



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required