首页
沸点
课程
数据标注
HOT
AI Coding
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
Golang
Gaaidou
创建于2022-10-18
订阅专栏
Go语言
暂无订阅
共8篇文章
创建于2022-10-18
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
Golang 迭代器模式
The Iterator Design Pattern is collection dependent. For example, if you are given a List: you may t
Golang命令模式
If you often use the Linux Command, a common command can kill the process we want, as shown below: T
Golang享元模式
Overview We usually use the Pool Mode, such as database connection pool, http connection pool, threa
Golang解释器模式
In my opinion, the Interpreter Design Pattern is simply to create a parser to execute syntax beyond
golang观察者模式
相关repo: https://gitee.com/gaaidou/gaaidou-ptarmigan 观察者模式: Go语言的Publish-Subscribe模式可以使用Go自身的channel特
Golang原型模式
I think the Prototype Design Pattern is to use the Clone() function to create objects from other obj
Golang单例模式
相关repo: https://gitee.com/gaaidou/gaaidou-ptarmigan 1.Golang的Once模式创建单例。 2.懒汉式,兼容线程安全 3.饿汉式 singleto
Golang工厂模式
相关repo: https://gitee.com/gaaidou/gaaidou-ptarmigan Golang使用interface的时候,没有直接使用继承关系。在Java里面,如果类imple