diff options
Diffstat (limited to 'model/nullNode.go')
-rw-r--r-- | model/nullNode.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/model/nullNode.go b/model/nullNode.go index 448b18b..d510828 100644 --- a/model/nullNode.go +++ b/model/nullNode.go @@ -9,3 +9,7 @@ func (n NullNode) Type() NodeType { func (n NullNode) MarshalJSON() ([]byte, error) { return []byte("null"), nil } + +func (n NullNode) Set(v any) error { + return nil +} |