MCPcopy
hub / github.com/gogo/protobuf / init

Function init

types/struct.pb.go:324–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 return "google.protobuf.ListValue"
323}
324func init() {
325 proto.RegisterEnum("google.protobuf.NullValue", NullValue_name, NullValue_value)
326 proto.RegisterType((*Struct)(nil), "google.protobuf.Struct")
327 proto.RegisterMapType((map[string]*Value)(nil), "google.protobuf.Struct.FieldsEntry")
328 proto.RegisterType((*Value)(nil), "google.protobuf.Value")
329 proto.RegisterType((*ListValue)(nil), "google.protobuf.ListValue")
330}
331
332func init() { proto.RegisterFile("google/protobuf/struct.proto", fileDescriptor_df322afd6c9fb402) }
333

Callers

nothing calls this directly

Calls 4

RegisterEnumFunction · 0.92
RegisterTypeFunction · 0.92
RegisterMapTypeFunction · 0.92
RegisterFileFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…