MCPcopy Create free account
hub / github.com/golang/appengine / getStructCodec

Function getStructCodec

datastore/prop.go:168–172  ·  view source on GitHub ↗

getStructCodec returns the structCodec for the given struct type.

(t reflect.Type)

Source from the content-addressed store, hash-verified

166
167// getStructCodec returns the structCodec for the given struct type.
168func getStructCodec(t reflect.Type) (*structCodec, error) {
169 structCodecsMutex.Lock()
170 defer structCodecsMutex.Unlock()
171 return getStructCodecLocked(t)
172}
173
174// getStructCodecLocked implements getStructCodec. The structCodecsMutex must
175// be held when calling this function.

Callers 3

newStructPLSFunction · 0.70
TestStructCodecFunction · 0.70
testGetStructCodecFunction · 0.70

Calls 1

getStructCodecLockedFunction · 0.70

Tested by 2

TestStructCodecFunction · 0.56
testGetStructCodecFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…