diff options
author | NeonXP <i@neonxp.dev> | 2022-11-21 04:46:32 +0300 |
---|---|---|
committer | NeonXP <i@neonxp.dev> | 2022-11-21 04:46:32 +0300 |
commit | 0d431048d3e68609b90306efd9ed015143ae651f (patch) | |
tree | 2a5fe21654bb9af02a0419722f2cd80d588465a2 /model/nullNode.go | |
parent | 4054a50ce4232ebfc4dae043863ad96d46b25b43 (diff) |
added set method
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 +} |