var github.com/golang/protobuf/proto.messageTypeCache
6 uses
github.com/golang/protobuf/proto (current package)
registry.go#L179: var messageTypeCache sync.Map // map[messageName]reflect.Type
registry.go#L190: messageTypeCache.Store(s, reflect.TypeOf(m))
registry.go#L202: if _, ok := messageTypeCache.Load(s); ok {
registry.go#L205: messageTypeCache.Store(s, t)
registry.go#L213: if v, ok := messageTypeCache.Load(s); ok {
registry.go#L236: v, _ := messageTypeCache.LoadOrStore(s, t)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |