MCPcopy
hub / github.com/pelletier/go-toml / rawRecorder

Struct rawRecorder

unmarshaler_test.go:5152–5154  ·  view source on GitHub ↗

rawRecorder implements unstable.Unmarshaler and records the raw bytes it receives.

Source from the content-addressed store, hash-verified

5150// rawRecorder implements unstable.Unmarshaler and records the raw bytes it
5151// receives.
5152type rawRecorder struct {
5153 Raw string
5154}
5155
5156func (r *rawRecorder) UnmarshalTOML(b []byte) error {
5157 r.Raw = string(b)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected