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

Method typeMismatchError

unmarshaler.go:428–434  ·  view source on GitHub ↗
(toml string, target reflect.Type, highlight []byte)

Source from the content-addressed store, hash-verified

426}
427
428func (d *decoder) typeMismatchError(toml string, target reflect.Type, highlight []byte) error {
429 return &typeMismatchError{
430 toml: toml,
431 target: target,
432 highlight: highlight,
433 }
434}
435
436type typeMismatchError struct {
437 toml string

Callers 11

descendMethod · 0.95
assignStringMethod · 0.95
assignIntegerMethod · 0.95
assignFloatMethod · 0.95
assignBoolMethod · 0.95
assignDateTimeMethod · 0.95
assignLocalDateTimeMethod · 0.95
assignLocalDateMethod · 0.95
assignLocalTimeMethod · 0.95
assignArrayMethod · 0.95
assignInlineTableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected