MCPcopy
hub / github.com/google/go-cmp / SetPrivate

Method SetPrivate

cmp/internal/teststructs/structs.go:186–186  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

184}
185func (s *privateStruct) SetPrivate(i int) { s.private = i }
186func (s *PublicStruct) SetPrivate(i int) { s.private = i }
187func (s *ParentStructC) SetPrivate(i int) { s.private = i }
188func (s *ParentStructD) SetPrivate(i int) { s.private = i }
189func (s *ParentStructF) SetPrivate(i int) { s.private = i }

Callers 1

embeddedTestsFunction · 0.45

Calls

no outgoing calls

Tested by 1

embeddedTestsFunction · 0.36