MCPcopy Create free account

hub / github.com/google/go-cmp / types & classes

Types & classes226 in github.com/google/go-cmp

↓ 6 callersTypeAliastextLine
textLine is a single-line segment of text and is always a leaf node in the textNode tree.
cmp/report_text.go:339
↓ 2 callersTypeAliascommentString
cmp/report_text.go:430
↓ 2 callersFuncTypeexporter
func(reflect.Type) bool
cmp/options.go:412
↓ 2 callersTypeAliasrepeatCount
cmp/report_text.go:54
↓ 1 callersTypeAliasMyArray
cmp/internal/value/sort_test.go:19
↓ 1 callersTypeAliasMyBytes
cmp/compare_test.go:866
↓ 1 callersTypeAliasMyFloat
cmp/cmpopts/util_test.go:26
↓ 1 callersTypeAliasMyInt
cmp/cmpopts/util_test.go:24
↓ 1 callersTypeAliasMyString
cmp/compare_test.go:864
↓ 1 callersTypeAliasMyString
cmp/internal/value/sort_test.go:18
↓ 1 callersTypeAliasOptions
Options is a list of [Option] values that also satisfies the [Option] interface. Helper comparison packages may return an Options value when packing m
cmp/options.go:66
↓ 1 callersTypeAliasStringer
cmp/compare_test.go:110
↓ 1 callersTypeAliasgermSorter
cmp/compare_test.go:2690
↓ 1 callersTypeAliasmyString
cmp/example_test.go:233
↓ 1 callersTypeAliastextList
textList is a comma-separated list of textWrap or textLine nodes. The list may be formatted as multi-lines or single-line at the discretion of the tex
cmp/report_text.go:141
FuncTypeAssignA
Equal method (with interface argument) on non-satisfying receiver
cmp/internal/teststructs/structs.go:73
StructAssignB
cmp/internal/teststructs/structs.go:74
TypeAliasAssignC
cmp/internal/teststructs/structs.go:75
TypeAliasAssignD
cmp/internal/teststructs/structs.go:76
StructBar
cmp/internal/teststructs/foo1/foo.go:10
StructBar
cmp/internal/teststructs/foo2/foo.go:10
StructBar1
cmp/cmpopts/util_test.go:37
StructBar2
cmp/cmpopts/util_test.go:38
StructBar3
cmp/cmpopts/util_test.go:43
StructCartel
This is an sanitized example of equality from a real use-case. The original equality function was as follows: * func equalCartel(x, y Cartel) bool {
cmp/internal/teststructs/project4.go:59
StructClient
cmp/example_test.go:313
StructClient
cmp/cmpopts/example_test.go:63
StructCycleAlpha
cmp/compare_test.go:2376
StructCycleBravo
cmp/compare_test.go:2380
StructDiffReporter
DiffReporter is a simple custom reporter that only records differences detected during comparison.
cmp/example_reporter_test.go:16
StructDirt
Project3 protocol buffers
cmp/internal/testprotos/protos.go:85
StructDirt
cmp/internal/teststructs/project3.go:47
TypeAliasDiscordState
cmp/internal/teststructs/project3.go:58
StructDish
Project2 protocol buffers
cmp/internal/testprotos/protos.go:76
StructDish
cmp/internal/teststructs/project2.go:60
StructDonkey
Project1 protocol buffers
cmp/internal/testprotos/protos.go:62
StructDonkey
cmp/internal/teststructs/project1.go:231
StructDonkeyImmutable
cmp/internal/teststructs/project1.go:238
TypeAliasDonkey_States
Project1 protocol buffers
cmp/internal/testprotos/protos.go:39
StructDreamer
Project1 protocol buffers
cmp/internal/testprotos/protos.go:47
StructDreamer
cmp/internal/teststructs/project1.go:163
StructDreamerImmutable
cmp/internal/teststructs/project1.go:180
TypeAliasDreamer_MissingCalls
Project1 protocol buffers
cmp/internal/testprotos/protos.go:36
TypeAliasDreamer_States
Project1 protocol buffers
cmp/internal/testprotos/protos.go:35
StructEagle
Project1 protocol buffers
cmp/internal/testprotos/protos.go:42
StructEagle
This is an sanitized example of equality from a real use-case. The original equality function was as follows: * func equalEagle(x, y Eagle) bool { if
cmp/internal/teststructs/project1.go:137
StructEagleImmutable
cmp/internal/teststructs/project1.go:151
TypeAliasEagle_MissingCalls
Project1 protocol buffers
cmp/internal/testprotos/protos.go:34
TypeAliasEagle_States
Project1 protocol buffers
cmp/internal/testprotos/protos.go:33
TypeAliasEditScript
EditScript represents the series of differences between two lists.
cmp/internal/diff/diff.go:37
TypeAliasEditType
EditType represents a single operation within an edit-script.
cmp/internal/diff/diff.go:23
InterfaceEmptyInterface
cmp/cmpopts/util_test.go:69
StructEmptyStruct
cmp/internal/value/sort_test.go:25
FuncTypeEqualFunc
EqualFunc reports whether the symbols at indexes ix and iy are equal. When called by Difference, the index is guaranteed to be within nx and ny.
cmp/internal/diff/diff.go:92
StructEverything
cmp/cmpopts/util_test.go:60
StructFakeMutex
This is an sanitized example of equality from a real use-case. The original equality function was as follows: * func equalDirt(x, y *Dirt) bool { if
cmp/internal/teststructs/project3.go:42
StructFoo1
cmp/cmpopts/util_test.go:34
StructFoo2
cmp/cmpopts/util_test.go:35
StructFoo3
cmp/cmpopts/util_test.go:36
StructGateway
cmp/example_test.go:307
StructGateway
cmp/cmpopts/example_test.go:57
StructGerm
Project2 protocol buffers
cmp/internal/testprotos/protos.go:71
StructGermBatch
This is an sanitized example of equality from a real use-case. The original equality function was as follows: * func equalBatch(b1, b2 *GermBatch) boo
cmp/internal/teststructs/project2.go:49
StructGoat
Project1 protocol buffers
cmp/internal/testprotos/protos.go:57
StructGoat
cmp/internal/teststructs/project1.go:216
StructGoatImmutable
cmp/internal/teststructs/project1.go:223
TypeAliasGoat_States
Project1 protocol buffers
cmp/internal/testprotos/protos.go:38
StructHeadquarter
cmp/internal/teststructs/project4.go:80
TypeAliasHoneyStatus
Project4 protocol buffers
cmp/internal/testprotos/protos.go:104
InterfaceIface1
cmp/compare_test.go:199
InterfaceIface2
cmp/compare_test.go:202
StructIndirect
Indirect is a [PathStep] that represents pointer indirection on the parent type.
cmp/path.go:279
InterfaceInterfaceA
cmp/internal/teststructs/structs.go:7
StructLoveRadius
cmp/internal/teststructs/project1.go:247
TypeAliasM
cmp/compare_test.go:2394
StructMapIndex
MapIndex is a [PathStep] that represents an index operation on a map at some index Key.
cmp/path.go:265
InterfaceMessage
cmp/internal/testprotos/protos.go:14
StructMetaData
Project4 protocol buffers
cmp/internal/testprotos/protos.go:106
StructMockTable
cmp/internal/teststructs/project3.go:74
TypeAliasMyByte
cmp/compare_test.go:865
StructMyComposite
cmp/compare_test.go:873
TypeAliasMyFloat
cmp/compare_test.go:871
TypeAliasMyFloats
cmp/compare_test.go:872
TypeAliasMyInt
cmp/compare_test.go:867
TypeAliasMyInts
cmp/compare_test.go:868
TypeAliasMyInts
cmp/cmpopts/util_test.go:25
TypeAliasMyString
cmp/cmpopts/util_test.go:27
StructMyStruct
cmp/cmpopts/util_test.go:29
StructMyStruct
cmp/internal/value/sort_test.go:20
StructMyTime
cmp/cmpopts/util_test.go:28
TypeAliasMyUint
cmp/compare_test.go:869
TypeAliasMyUints
cmp/compare_test.go:870
StructNamed
cmp/internal/value/name_test.go:13
InterfaceOption
Option configures for specific behavior of [Equal] and [Diff]. In particular, the fundamental Option functions ([Ignore], [Transformer], and [Comparer
cmp/options.go:25
TypeAliasP
cmp/compare_test.go:2392
StructParentStruct
cmp/cmpopts/util_test.go:53
StructParentStructA
cmp/internal/teststructs/structs.go:134
StructParentStructB
cmp/internal/teststructs/structs.go:135
StructParentStructC
cmp/internal/teststructs/structs.go:136
StructParentStructD
cmp/internal/teststructs/structs.go:140
next →1–100 of 226, ranked by callers