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

Struct captured

unmarshaler_astgeneric_test.go:15–17  ·  view source on GitHub ↗

captured records the raw TOML bytes delivered to it through the unmarshaler interface.

Source from the content-addressed store, hash-verified

13// captured records the raw TOML bytes delivered to it through the unmarshaler
14// interface.
15type captured struct {
16 raw string
17}
18
19func (c *captured) UnmarshalTOML(data []byte) error {
20 c.raw = string(data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected