aboutsummaryrefslogtreecommitdiff
path: root/parser/parser.go
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2022-11-21 04:31:56 +0300
committerNeonXP <i@neonxp.dev>2022-11-21 04:31:56 +0300
commit4054a50ce4232ebfc4dae043863ad96d46b25b43 (patch)
tree4ee57f8b0b5f66b142bb3898ba6e8162cb1b2a01 /parser/parser.go
parent4934a51c69e1975dc808e094e113b187ebb2c328 (diff)
Better interfacev0.0.3
Diffstat (limited to 'parser/parser.go')
-rw-r--r--parser/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/parser.go b/parser/parser.go
index 222e4c0..dfcd4b4 100644
--- a/parser/parser.go
+++ b/parser/parser.go
@@ -8,7 +8,7 @@ import (
"go.neonxp.dev/json/model"
)
-func Parse(json string) (*model.Node, error) {
+func Parse(json string) (model.Node, error) {
l := newLexer(json)
go l.Run(initJson)
n, err := parse(l.Output)