水滴石穿 / golang

Golang中defer关键字的使用

2018-03-07 posted in [golang]

The first design pattern principle

> program to an interface, not an implementation

The sencond design pattern principle

> favor object composition over class inheritance

gracefully shutdown of goroutines

2017-10-01 posted in [golang]