MCPcopy Index your code

hub / github.com/PhakornKiong/go-pattern-match / types & classes

Types & classes33 in github.com/PhakornKiong/go-pattern-match

TypeAliasCurrencyPair
Slice of currency pair
example/fxstrategy/main.go:24
FuncTypeHandler
func() T
pattern/matcher.go:15
StructMatcher
Matcher is a generic struct that matches a value of type V to a response of type T. It has three fields: value, isMatched and response. value is the i
pattern/matcher.go:22
StructMyStruct
pattern/matcher_test.go:45
StructOrder
example/shippingStrategy/main.go:13
InterfacePatterner
pattern/matcher.go:7
FuncTypePredicate
func(V) bool
pattern/when.go:3
InterfaceShippingStrategy
example/shippingStrategy/main.go:9
StructairStrategy
shipping by freighter
example/shippingStrategy/air.go:4
StructanyPattern
pattern/any.go:3
Structcustom
pattern/map_test.go:73
Structcustom
pattern/struct_test.go:26
Structcustom
pattern/slice_test.go:47
StructdefaultStrategy
default strategy, just take flat rate of 25
example/shippingStrategy/default.go:4
Structembed
pattern/struct_test.go:22
StructfieldPattern
pattern/struct.go:12
StructfieldVal
pattern/struct.go:7
StructfreightStrategy
shipping by freighter
example/shippingStrategy/freight.go:4
StructintPattern
pattern/int.go:5
Structintersection
pattern/intersection.go:7
StructintersectionPattern
pattern/intersection.go:24
StructkeyVal
pattern/map.go:14
StructlocalStrategy
shopping by local partner
example/shippingStrategy/local.go:4
StructmapPattern
pattern/map.go:7
Structnot
pattern/not.go:5
StructnotPattern
pattern/not.go:17
Structpredicate
pattern/matcher_test.go:444
StructslicePattern
pattern/slice.go:5
StructstringPattern
pattern/string.go:9
StructstructPattern
pattern/struct.go:17
Structunion
pattern/union.go:7
StructunionPattern
pattern/union.go:24
StructwhenPattern
pattern/when.go:5