go 结构体嵌套结构体指针,必须先初始化指针结构体,才能赋值
Go test 的一些容易忽略的约定俗成:TestMain、Example….
Go doesn’t support inheritance in the classical sense; instead, in encourages composition as a way to extend the functionality of types. This is not a notion peculiar to Go. Composition over inheritance is a known principle of OOP and is featured in the very first chapter of the Design Patterns book.
在给Garnet贡献代码的时候,第一次遇到了这种情况,记录一下,之前只见过基本的理论。
代码地址:https://github.com/sa-spring/spring-webflux https://www.bilibili.com/video/BV1dt4y1y7bC
早期 Docker 网络模型由来及其弊端
Envoy原理介绍及线上问题采坑-张伟
深入理解 Go 里面的 for range
一文彻底搞懂 Cookie、Session、Token
Functional Options Pattern