diff options
author | NeonXP <i@neonxp.dev> | 2022-11-21 04:31:56 +0300 |
---|---|---|
committer | NeonXP <i@neonxp.dev> | 2022-11-21 04:31:56 +0300 |
commit | 4054a50ce4232ebfc4dae043863ad96d46b25b43 (patch) | |
tree | 4ee57f8b0b5f66b142bb3898ba6e8162cb1b2a01 /parser/parser.go | |
parent | 4934a51c69e1975dc808e094e113b187ebb2c328 (diff) |
Better interfacev0.0.3
Diffstat (limited to 'parser/parser.go')
-rw-r--r-- | parser/parser.go | 2 |
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) |