MCPcopy Create free account

hub / github.com/6boris/Golang-Learn / types & classes

Types & classes352 in github.com/6boris/Golang-Learn

↓ 2 callersClassSolution
Definition for singly-linked list. public class ListNode { int val; ListNode next; ListNode(int x) { val = x; next = null;
Leetcode/0160-Intersection-of-Two-Linked-Lists/Solution.java:12
↓ 1 callersTypeAliasByAge
Basic-Grammar/Sort/struct/main.go:17
↓ 1 callersTypeAliasMyInt
GreekTime/go_learning/code/ch3/type_test/type_test.go:5
StructABData
Design-Patterns-Golang/Behavior/Visitor/Visitor.go:21
StructAObserver
Design-Patterns-Golang/Behavior/Observer/Observer.go:34
StructAToB
从A到B
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:16
StructAbsScreenEventHandler
Design-Patterns-Golang/Behavior/ChainOfResponsibility/ChainOfResponsibility.go:21
StructAccessDepartment
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:145
StructAccessFactory
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:188
StructAccessUser
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:102
StructAdapterNonToYes
类的适配器模式 似乎golang语言层面已经支持了,暂且搁置 对象的适配器模式 适配可充电电池使用接口
Design-Patterns-Golang/Struct/Adapter/Adapter.go:42
StructAddVisitor
Design-Patterns-Golang/Behavior/Visitor/Visitor.go:30
StructAgent
GreekTime/go_learning/code/ch41/microkernel/agent.go:46
StructAirStrategy
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:53
StructAndExpression
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:41
StructAnimal
Basic-Grammar/fmt/Println/main.go:5
StructArrayContainer
数组集合
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:43
StructArrayIterator
数组迭代器
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:21
StructArticle
Framework/Gin/v2/main.go:11
StructArticle
Framework/Gin/v3/main.go:11
StructArticle
Framework/Gin/v1/main.go:12
StructArticleGroup
Framework/Gin/v1/main.go:27
StructBaseMessageBuilder
基本信息构造器
Design-Patterns-Golang/Struct/Decorator/Decorator.go:20
StructBasicInfo
GreekTime/go_learning/code/ch43/easyjson/struct_def.go:3
StructBasicInfo
GreekTime/go_learning/code/ch42/json/struct_def.go:3
StructBeer
啤酒
Design-Patterns-Golang/Create/Builder/Builder.go:79
StructBikeStrategy
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:29
StructBraceMessageBuilderDecorator
大括号装饰器
Design-Patterns-Golang/Struct/Decorator/Decorator.go:37
StructBusStrategy
Design-Patterns-Golang/Behavior/Strategy/Strategy.go:41
StructCdnRequest
Design-Patterns-Golang/Struct/Bridge/Bridge.go:30
StructChatRoom
中介者模式(Mediator Pattern) 是用来降低多个对象和类之间的通信复杂性。 这种模式提供了一个中介类,该类通常处理不同类之间的通信,并支持松耦合,使代码易于维护
Design-Patterns-Golang/Behavior/Mediator/Mediator.go:9
StructCircle
Circle represents a circle...
Structs-Methods-Interfaces/Test4/shapes.go:27
StructCircle
Circle represents a circle...
Structs-Methods-Interfaces/Test5/shapes.go:27
StructCircle
Circle represents a circle...
Structs-Methods-Interfaces/Test3/shapes.go:22
StructClient
客户端
Design-Patterns-Golang/Struct/Bridge/Bridge.go:20
StructCmdContext
上下文
Design-Patterns-Golang/Behavior/Command/Command.go:35
TypeAliasCode
GreekTime/go_learning/code/ch13/polymorphsim/polymorphsim_test.go:8
StructCoder
外观模式 隐藏系统的复杂性,并向客户端提供了一个客户端可以访问系统的接口
Design-Patterns-Golang/Struct/Facade/Facade.go:10
StructCola
可乐
Design-Patterns-Golang/Create/Builder/Builder.go:67
InterfaceCollector
GreekTime/go_learning/code/ch41/microkernel/agent.go:39
StructCollectorsError
GreekTime/go_learning/code/ch41/microkernel/agent.go:18
InterfaceCommand
Command(命令) 命令模式(Command Pattern)是一种数据驱动的设计模式,它属于行为型模式。 请求以命令的形式包裹在对象中,并传给调用对象。 调用对象寻找可以处理该命令 的合适的对象,并把该命令传给相应的对象,该对象执行命令。 命令接口
Design-Patterns-Golang/Behavior/Command/Command.go:12
StructCommandHandler
命令管理者
Design-Patterns-Golang/Behavior/Command/Command.go:41
StructCompany
公司 拥有产品策划、程序员、测试人员,运维人员 通过公司这个外观对外提供服务, 而不是直接通过某个类型人员对外服务(虽然最终提供服务的也是某个类型的人员)
Design-Patterns-Golang/Struct/Facade/Facade.go:42
StructConcurrentMapBenchmarkAdapter
GreekTime/go_learning/code/ch48/maps/concurrent_map_benchmark_adapter.go:5
StructConsumerT
消费者
Framework/Nsq/v2/receive.go:12
StructConsumerT
消费者
Framework/Nsq/v3/receive.go:10
InterfaceContainer
集合接口
Design-Patterns-Golang/Behavior/Iterator/Iterator.go:16
StructContent
GreekTime/go_learning/code/ch49/gc_friendly/passing_ref/pass_array_test.go:9
StructCustomer
GreekTime/go_learning/code/ch39/unsafe_programming/unsafe_test.go:12
StructCustomer
GreekTime/go_learning/code/ch37/reflect/reflect_test.go:62
StructCustomer
GreekTime/go_learning/code/ch38/flexible_reflect_test.go:33
StructData
Temp/Interview/o1/solution.go:9
StructData
Algorithm/Sort/Sort_test.go:13
StructDataAccess
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:207
InterfaceDataStruct
Design-Patterns-Golang/Behavior/Visitor/Visitor.go:17
StructDbConnect
数据库连接
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:40
StructDbConnectPool
享元模式 实现对象的共享,即共享池,当系统中对象多的时候可以减少内存的开销,通常与工厂模式一起使用。 sync.pool 就属于此模式 数据库连接池
Design-Patterns-Golang/Struct/Flyweight/Flyweight.go:12
StructDemoCollector
GreekTime/go_learning/code/ch41/microkernel/agent_test.go:11
StructDepartment
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:48
StructDepartment
组合模式 将对象组合成树形结构以表示“部分-整体”的层次结构。组合模式使得用户对单个对象和组合对象的使用具有一致性。
Design-Patterns-Golang/Struct/Composite/Compistie.go:9
InterfaceDevice
代理模式 为其他对象提供一种代理以控制对这个对象的访问 优点: 1、职责清晰。 2、高扩展性。 3、智能化。 注意事项: 1、和适配器模式的区别:适配器模式主要改变所考虑对象的接口, 而代理模式不能改变所代理类的接口。 2、和装饰器模式的区别:装饰器模式为了增强功能,而代理模式 是为了加以控制。 似
Design-Patterns-Golang/Struct/Proxy/Proxy.go:16
StructDog
GreekTime/go_learning/code/ch12/extension/extension_test.go:20
StructDrink
饮料
Design-Patterns-Golang/Create/Builder/Builder.go:29
StructEmployee
GreekTime/go_learning/code/ch45/roa/resource_oriented_arc.go:12
StructEmployee
GreekTime/go_learning/code/ch43/easyjson/struct_def.go:10
StructEmployee
GreekTime/go_learning/code/ch37/reflect/reflect_test.go:52
StructEmployee
GreekTime/go_learning/code/ch11/encapsulation/encap_test.go:9
StructEmployee
GreekTime/go_learning/code/ch38/flexible_reflect_test.go:23
StructEmployee
GreekTime/go_learning/code/ch42/json/struct_def.go:10
StructEvent
GreekTime/go_learning/code/ch41/microkernel/agent.go:30
InterfaceEventReceiver
GreekTime/go_learning/code/ch41/microkernel/agent.go:35
InterfaceExpression
解释器模式(Interpreter Pattern) 提供了评估语言的语法或表达式的方式,文法解释,它属于行为型模式。 这种模式实现了一个表达式接口,该接口解释一个特定的上下文。这种模式被用在 SQL 解析、符号处理引擎等。 一般递归处理
Design-Patterns-Golang/Behavior/Interpreter/Interpreter.go:14
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/command-line/v1/FileSystemStore.go:11
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v7/FileSystemStore.go:9
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v2/FileSystemStore.go:8
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v9/FileSystemStore.go:11
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v6/FileSystemStore.go:9
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v5/FileSystemStore.go:9
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v8/FileSystemStore.go:10
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v3/FileSystemStore.go:9
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v1/FileSystemStore.go:8
StructFileSystemPlayerStore
FileSystemPlayerStore stores players in the filesystem
Basic-Grammar/io/v4/FileSystemStore.go:9
InterfaceFilter
Filter interface is the definition of the data processing components Pipe-Filter structure
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/filter.go:12
StructFood
食物
Design-Patterns-Golang/Create/Builder/Builder.go:15
StructFriedChicken
炸鸡
Design-Patterns-Golang/Create/Builder/Builder.go:55
StructGetCommand
Get 命令
Design-Patterns-Golang/Behavior/Command/Command.go:17
StructGoProgrammer
GreekTime/go_learning/code/ch13/polymorphsim/polymorphsim_test.go:13
StructGoProgrammer
GreekTime/go_learning/code/ch11/interface/interface_test.go:9
StructGroup
Framework/Gin/v3/main.go:19
StructHamburger
汉堡
Design-Patterns-Golang/Create/Builder/Builder.go:43
StructHardDisk
Design-Patterns-Golang/Struct/Proxy/Proxy.go:21
StructHardDiskProxy
Design-Patterns-Golang/Struct/Proxy/Proxy.go:33
StructHomeScreenEventHandler
Design-Patterns-Golang/Behavior/ChainOfResponsibility/ChainOfResponsibility.go:36
InterfaceI
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Type-Shadowing/main.go:24
InterfaceIDepartment
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:121
InterfaceIF
Interview/Awesome-Go-Interview-Questions-and-Answers/Language-Specification/Nil-Interfaces/main.go:7
InterfaceIScreenEventHandler
Design-Patterns-Golang/Behavior/ChainOfResponsibility/ChainOfResponsibility.go:16
InterfaceIUser
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:78
InterfaceIfactory
Design-Patterns-Golang/Create/AbstractFactory/AbstractFactory.go:164
next →1–100 of 352, ranked by callers