Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aceld/EasySJMS
/ functions
Functions
232 in github.com/aceld/EasySJMS
⨍
Functions
232
◇
Types & classes
128
↓ 7 callers
Method
CreateFruit
()
03/3/09-工厂方法模式.go:14
↓ 7 callers
Method
On
()
04/6/20-外观模式案例.go:8
↓ 7 callers
Method
Show
()
03/3/09-工厂方法模式.go:9
↓ 6 callers
Method
AddListener
添加观察者
05/9/29-观察者模式百晓生练习.go:104
↓ 6 callers
Method
Run
()
02/05-依赖倒转原则.go:7
↓ 6 callers
Method
Show
()
04/3/17-装饰器模式.go:8
↓ 5 callers
Method
Buy
(goods *Goods)
04/1/15-代理模式.go:13
↓ 4 callers
Method
Notify
通知广播
05/9/29-观察者模式百晓生练习.go:34
↓ 3 callers
Method
AddListener
添加观察者
05/9/29-观察者模式百晓生练习.go:30
↓ 3 callers
Function
NewFruit
创建一个Fruit对象
03/1/07-为什么需要-工厂模式.go:23
↓ 3 callers
Method
Show
(name string)
03/1/07-为什么需要-工厂模式.go:12
↓ 3 callers
Method
Title
()
05/9/29-观察者模式百晓生练习.go:65
↓ 2 callers
Method
CreateApple
()
03/4/10-抽象工厂方法模式.go:24
↓ 2 callers
Method
CreateBanana
()
03/4/10-抽象工厂方法模式.go:25
↓ 2 callers
Method
Drive
(car Car)
02/05-依赖倒转原则.go:11
↓ 2 callers
Method
Eat
()
02/06-合成复用原则.go:7
↓ 2 callers
Method
Fight
()
05/6/26-策略模式.go:35
↓ 2 callers
Method
Fight
(another Listener, baixiao Notifier)
05/9/29-观察者模式百晓生练习.go:52
↓ 2 callers
Function
GetInstance
3、如果全部为私有化,那么外部模块将永远无法访问到这个类和对象, 所以需要对外提供一个方法来获取这个唯一实例对象 注意:这个方法是否可以定义为singelton的一个成员方法呢? 答案是不能,因为如果为成员方法就必须要先访问对象、再访问函数 但是类和对象目前都已经私有化,外界无法访问,所以这个方法一
03/5/11-单例模式.go:30
↓ 2 callers
Method
GetName
()
05/9/29-观察者模式百晓生练习.go:23
↓ 2 callers
Method
GetParty
()
05/9/29-观察者模式百晓生练习.go:24
↓ 2 callers
Method
HappyWithMan
和男人浪漫的约会
04/2/16-代理模式加强练习.go:10
↓ 2 callers
Method
MakeBeverage
封装的固定模板
05/1/21-模板方法模式.go:21
↓ 2 callers
Method
MakeEyesWithMan
对男人抛媚眼
04/2/16-代理模式加强练习.go:8
↓ 2 callers
Method
MethodA
()
04/5/19-外观模式.go:7
↓ 2 callers
Method
MethodB
()
04/5/19-外观模式.go:13
↓ 2 callers
Function
NewMoDecorator
(phone Phone)
04/3/17-装饰器模式.go:44
↓ 2 callers
Function
NewProxy
创建一个代理,并且配置关联被代理的主题
04/1/15-代理模式.go:57
↓ 2 callers
Method
SellPrice
()
05/7/27-策略模式练习.go:45
↓ 2 callers
Method
SetStrategy
(s SellStrategy)
05/7/27-策略模式练习.go:41
↓ 2 callers
Method
SetWeaponStrategy
设置一个策略
05/6/26-策略模式.go:31
↓ 2 callers
Method
ShowApple
()
03/4/10-抽象工厂方法模式.go:7
↓ 2 callers
Method
ShowBanana
()
03/4/10-抽象工厂方法模式.go:11
↓ 1 callers
Method
AddThings
倒入杯中
05/1/21-模板方法模式.go:10
↓ 1 callers
Method
BoilWater
()
05/1/21-模板方法模式.go:7
↓ 1 callers
Method
Brew
煮开水
05/1/21-模板方法模式.go:8
↓ 1 callers
Method
Charge
()
04/4/18-适配器模式.go:19
↓ 1 callers
Method
CreatePear
()
03/4/10-抽象工厂方法模式.go:26
↓ 1 callers
Method
DoBadthing
()
05/8/28-观察者模式.go:28
↓ 1 callers
Method
DoBadthing
()
05/8/28-观察者模式.go:40
↓ 1 callers
Method
DoBadthing
()
05/8/28-观察者模式.go:52
↓ 1 callers
Method
DoBusi
()
02/03-开闭原则.go:15
↓ 1 callers
Method
DoBusi
()
02/03-开闭原则.go:24
↓ 1 callers
Method
DoBusi
()
02/03-开闭原则.go:33
↓ 1 callers
Method
DoGame
游戏模式
04/6/20-外观模式案例.go:97
↓ 1 callers
Method
DoKTV
KTV模式
04/6/20-外观模式案例.go:87
↓ 1 callers
Method
DriveBMW
(bmw *BMW)
02/04-耦合度极高的模块设计.go:45
↓ 1 callers
Method
DriveBenZ
(benz *Benz)
02/04-耦合度极高的模块设计.go:25
↓ 1 callers
Function
GetInstance
()
03/6/12-单例模式懒汉式.go:9
↓ 1 callers
Function
GetInstance
()
03/8/14-线程安全懒汉式单例-2.go:17
↓ 1 callers
Function
GetInstance
()
03/7/13-线程安全的单例模式-1.go:15
↓ 1 callers
Function
GetInstance
()
03/9/15-线程安全懒汉式单例-3.go:14
↓ 1 callers
Method
GetPrice
根据原价得到售卖价
05/7/27-策略模式练习.go:13
↓ 1 callers
Method
Make
()
05/5/25-命令模式练习.go:17
↓ 1 callers
Method
MakeChicken
()
05/5/25-命令模式练习.go:7
↓ 1 callers
Method
MakeChuaner
()
05/5/25-命令模式练习.go:11
↓ 1 callers
Method
MethodC
()
04/5/19-外观模式.go:19
↓ 1 callers
Method
MethodD
()
04/5/19-外观模式.go:25
↓ 1 callers
Method
MethodOne
()
04/5/19-外观模式.go:37
↓ 1 callers
Function
NewAdapter
(v220 *V220)
04/4/18-适配器模式.go:44
↓ 1 callers
Function
NewKeDecorator
(phone Phone)
04/3/17-装饰器模式.go:57
↓ 1 callers
Function
NewMakeCaffee
()
05/1/21-模板方法模式.go:42
↓ 1 callers
Function
NewMakeTea
()
05/1/21-模板方法模式.go:75
↓ 1 callers
Function
NewPhone
(v V5)
04/4/18-适配器模式.go:15
↓ 1 callers
Function
NewProxy
(woman BeautyWoman)
04/2/16-代理模式加强练习.go:32
↓ 1 callers
Method
Off
()
04/6/20-外观模式案例.go:12
↓ 1 callers
Method
OnFriendBeFight
当同伴被揍了该怎么办
05/9/29-观察者模式百晓生练习.go:22
↓ 1 callers
Method
OnShop
()
02/01-单一职责原则.go:7
↓ 1 callers
Method
OnTeacherComming
()
05/8/28-观察者模式.go:9
↓ 1 callers
Method
OnWork
()
02/01-单一职责原则.go:13
↓ 1 callers
Method
Pay
支付业务
02/02-无开闭原则-平铺设计.go:21
↓ 1 callers
Method
PourInCup
冲泡
05/1/21-模板方法模式.go:9
↓ 1 callers
Method
Save
存款业务
02/02-无开闭原则-平铺设计.go:11
↓ 1 callers
Method
ShowPear
()
03/4/10-抽象工厂方法模式.go:15
↓ 1 callers
Method
Sleep
()
02/06-合成复用原则.go:16
↓ 1 callers
Method
SomeThing
()
03/6/12-单例模式懒汉式.go:19
↓ 1 callers
Method
SomeThing
()
03/5/11-单例模式.go:34
↓ 1 callers
Method
SomeThing
()
03/8/14-线程安全懒汉式单例-2.go:36
↓ 1 callers
Method
SomeThing
()
03/7/13-线程安全的单例模式-1.go:26
↓ 1 callers
Method
SomeThing
()
03/9/15-线程安全懒汉式单例-3.go:23
↓ 1 callers
Method
Title
()
05/9/29-观察者模式百晓生练习.go:25
↓ 1 callers
Method
Transfer
转账业务
02/02-无开闭原则-平铺设计.go:16
↓ 1 callers
Method
Treat
()
05/4/24-命令模式.go:19
↓ 1 callers
Method
Treat
()
05/3/23-如果没有命令模式.go:20
↓ 1 callers
Method
Treat
()
05/3/23-如果没有命令模式.go:29
↓ 1 callers
Method
Use220V
()
04/4/18-适配器模式.go:28
↓ 1 callers
Method
Use5V
()
04/4/18-适配器模式.go:7
↓ 1 callers
Method
UseWeapon
()
05/6/26-策略模式.go:7
↓ 1 callers
Method
WantAddThings
添加酌料
05/1/21-模板方法模式.go:12
↓ 1 callers
Method
check
安检流程
04/1/15-代理模式.go:71
↓ 1 callers
Method
distinguish
验货流程
04/1/15-代理模式.go:62
↓ 1 callers
Method
treatEye
()
05/4/24-命令模式.go:8
↓ 1 callers
Method
treatEye
()
05/2/22-如果没有命令模式.go:7
↓ 1 callers
Method
treatEye
()
05/3/23-如果没有命令模式.go:7
↓ 1 callers
Method
treatNose
()
05/4/24-命令模式.go:12
↓ 1 callers
Method
treatNose
()
05/2/22-如果没有命令模式.go:11
↓ 1 callers
Method
treatNose
()
05/3/23-如果没有命令模式.go:11
Method
AddListener
(listener Listener)
05/8/28-观察者模式.go:13
Method
AddListener
(listener Listener)
05/8/28-观察者模式.go:62
Method
AddThings
()
05/1/21-模板方法模式.go:62
next →
1–100 of 232, ranked by callers