MCPcopy Create free account
hub / github.com/ClashDotNetFramework/experimental-clash / setInterface

Method setInterface

common/structure/structure.go:401–405  ·  view source on GitHub ↗
(name string, data interface{}, val reflect.Value)

Source from the content-addressed store, hash-verified

399}
400
401func (d *Decoder) setInterface(name string, data interface{}, val reflect.Value) (err error) {
402 dataVal := reflect.ValueOf(data)
403 val.Set(dataVal)
404 return nil
405}

Callers 1

decodeMethod · 0.95

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected