diff options
Diffstat (limited to 'vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go')
-rw-r--r-- | vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go b/vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go new file mode 100644 index 000000000..00cfd6de4 --- /dev/null +++ b/vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go @@ -0,0 +1,7 @@ +package unstable + +// The Unmarshaler interface may be implemented by types to customize their +// behavior when being unmarshaled from a TOML document. +type Unmarshaler interface { + UnmarshalTOML(value *Node) error +} |