MCPcopy Create free account
hub / github.com/StackExchange/httpunit / unify

Method unify

_third_party/github.com/BurntSushi/toml/decode.go:142–223  ·  view source on GitHub ↗

unify performs a sort of type unification based on the structure of `rv`, which is the client representation. Any type mismatch produces an error. Finding a type that we don't know how to handle produces an unsupported type error.

(data interface{}, rv reflect.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

PrimitiveDecodeFunction · 0.95
PrimitiveDecodeMethod · 0.95
DecodeFunction · 0.95
unifyStructMethod · 0.95
unifyMapMethod · 0.95
unifySliceArrayMethod · 0.95

Calls 14

unifyDatetimeMethod · 0.95
unifyTextMethod · 0.95
unifyIntMethod · 0.95
unifyStructMethod · 0.95
unifyMapMethod · 0.95
unifyArrayMethod · 0.95
unifySliceMethod · 0.95
unifyStringMethod · 0.95
unifyBoolMethod · 0.95
unifyAnythingMethod · 0.95
unifyFloat64Method · 0.95
rvalueFunction · 0.85

Tested by

no test coverage detected