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

Method SetID

cmp/internal/teststructs/project4.go:112–112  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

110func (hq Headquarter) CreationTime() time.Time { return hq.creationTime }
111
112func (hq *Headquarter) SetID(x uint64) { hq.id = x }
113func (hq *Headquarter) SetLocation(x string) { hq.location = x }
114func (hq *Headquarter) SetSubDivisions(x []string) { hq.subDivisions = x }
115func (hq *Headquarter) SetIncorporatedDate(x time.Time) { hq.incorporatedDate = x }

Callers 1

project4TestsFunction · 0.95

Calls

no outgoing calls

Tested by 1

project4TestsFunction · 0.76