We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d0fa7 commit f5a1443Copy full SHA for f5a1443
README.md
@@ -19,7 +19,7 @@ import (
19
)
20
21
parser := sitter.NewParser()
22
-parser.SetLanguage(javascript.GetLanguage())
+_ = parser.SetLanguage(javascript.GetLanguage())
23
```
24
25
Parse some code:
_examples/main.go
@@ -11,7 +11,7 @@ func main() {
11
input := []byte("function hello() { console.log('hello') }; function goodbye(){}")
12
13
14
- parser.SetLanguage(javascript.GetLanguage())
+ _ = parser.SetLanguage(javascript.GetLanguage())
15
16
tree := parser.Parse(nil, input)
17
0 commit comments