diff options
Diffstat (limited to 'model/nullNode.go')
-rw-r--r-- | model/nullNode.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/model/nullNode.go b/model/nullNode.go deleted file mode 100644 index d510828..0000000 --- a/model/nullNode.go +++ /dev/null @@ -1,15 +0,0 @@ -package model - -type NullNode struct{} - -func (n NullNode) Type() NodeType { - return NullType -} - -func (n NullNode) MarshalJSON() ([]byte, error) { - return []byte("null"), nil -} - -func (n NullNode) Set(v any) error { - return nil -} |