MCPcopy Index your code
hub / github.com/Monibuca/engine / New

Method New

util/strutct.go:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (s Struct) New() *Instance {
55 return &Instance{reflect.New(s.typ).Elem(), s.index}
56}
57
58// 结构体的值
59type Instance struct {

Callers 15

WritePESPacketMethod · 0.80
io.goFile · 0.80
PublishMethod · 0.80
plugin.goFile · 0.80
SubscribeMethod · 0.80
reader-av.goFile · 0.80
WriteAVCCMethod · 0.80
log.goFile · 0.80
flv.goFile · 0.80
h264.goFile · 0.80
UnmarshalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected