MCPcopy Create free account
hub / github.com/golang/groupcache / GetName

Method GetName

testpb/test.pb.go:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24func (*TestMessage) ProtoMessage() {}
25
26func (m *TestMessage) GetName() string {
27 if m != nil && m.Name != nil {
28 return *m.Name
29 }
30 return ""
31}
32
33func (m *TestMessage) GetCity() string {
34 if m != nil && m.City != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected