每日一谚:Don't use fmt.Sprintf("%s:%d") to construct a host/port combination; use net.JoinHostPort() instead.
有意想学习容器或Kubernets的童鞋可以了解一下我的慕课网实战课:k8s实战 - https://coding.imooc.com/class/284.html
1.关于Go泛型设计最新进展和一些问题的澄清: 很大可能使用方括号“[]”,取消类型参数前面的type关键字,所有类型参数必须>提供constraint,引入"any"预声明标识符(interface{}的一个alias)等 - https://groups.google.com/g/golang-nuts/c/iAD0NBz3DYw/m/VcXSK55XAwAJ
type Vector[T any] []T func Print[T any](s []T) { … }func Index[T comparable](s []T, e T) { … }
2.NAT穿越的工作原理 by tailscale - https://tailscale.com/blog/how-nat-traversal-works/3.Go接口隔离实战 - https://gianarb.it/blog/interface-segreation-in-action-with-go4.Go Mock测试技术详解 - https://dmv.myhatchpad.com/insight/mocking-techniques-for-go/5.fastai发布新版深入学习课程 - https://www.fast.ai/2020/08/21/fastai2-launch/6.使用go和redis构建一个无服务有状态API - https://dev.to/lambdastore/build-a-serverless-stateful-api-with-golang-and-redis-2m86
•gopherdaily归档:https://github.com/bigwhite/gopherdaily•编辑:Tony Bai (https://tonybai.com)•邮件订阅:https://gopher-daily.com/
往期推荐
Go新泛型设计方案详解
Go语言联合作者Rob Pike专访:Go确实已成为云基础架构的语言
Go coding in go way
Hello,WireGuard
Go语言之禅