MCPcopy Create free account
hub / github.com/google/go-cmp / MockTable

Struct MockTable

cmp/internal/teststructs/project3.go:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74type MockTable struct {
75 state []string
76}
77
78func CreateMockTable(s []string) *MockTable { return &MockTable{s} }
79func (mt *MockTable) Operation1() error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected