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

Method Encode

_third_party/github.com/BurntSushi/toml/encode.go:86–92  ·  view source on GitHub ↗

Encode writes a TOML representation of the Go value to the underlying io.Writer. If the value given cannot be encoded to a valid TOML document, then an error is returned. The mapping between Go values and TOML values should be precisely the same as for the Decode* functions. Similarly, the TextMars

(v interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestEncodeRoundTripFunction · 0.95
encodeExpectedFunction · 0.95
ExampleEncoder_EncodeFunction · 0.80

Calls 3

safeEncodeMethod · 0.95
eindirectFunction · 0.85
KeyTypeAlias · 0.85

Tested by 3

TestEncodeRoundTripFunction · 0.76
encodeExpectedFunction · 0.76
ExampleEncoder_EncodeFunction · 0.64