aboutsummaryrefslogtreecommitdiff
path: root/model/types.go
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2022-12-27 02:37:02 +0300
committerNeonXP <i@neonxp.dev>2022-12-27 02:40:03 +0300
commit76a7f461ebbde70ea0e3d4f9b79c08139acaee7c (patch)
tree5e6dcb05f00be5109b3465ef16a6e9169a27497e /model/types.go
parent6f1d1df79f161cfc695f74d271d689ba72c44d09 (diff)
Completely rewritedv0.1.0
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
-}