MCPcopy
hub / github.com/tinylib/msgp / unsetReceiver

Function unsetReceiver

gen/spec.go:364–370  ·  view source on GitHub ↗
(p Elem)

Source from the content-addressed store, hash-verified

362}
363
364func unsetReceiver(p Elem) {
365 switch p.(type) {
366 case *Struct, *Array:
367 default:
368 p.SetVarname("z")
369 }
370}
371
372// shared utility for generators
373type printer struct {

Callers 2

ExecuteMethod · 0.85
ExecuteMethod · 0.85

Calls 1

SetVarnameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…