aboutsummaryrefslogtreecommitdiff
path: root/model/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/types.go')
-rw-r--r--model/types.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/model/types.go b/model/types.go
deleted file mode 100644
index 72dce5f..0000000
--- a/model/types.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package model
-
-type NodeType string
-
-const (
- StringType NodeType = "string"
- NumberType NodeType = "number"
- ObjectType NodeType = "object"
- ArrayType NodeType = "array"
- BooleanType NodeType = "boolean"
- NullType NodeType = "null"
-)
-
-type NodeObjectValue map[string]Node
-
-func (n NodeObjectValue) Set(k string, v any) error {
- n[k] = NewNode(v)
- return nil
-}