aboutsummaryrefslogtreecommitdiff
path: root/bindings/go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-14 18:10:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-14 18:10:53 +0200
commitcde4f74ed9dffa1415d9021c343eb599e8866b4d (patch)
tree68cd8ec7ed3458515736ef825abcf39979602338 /bindings/go
parentc549d8b3bbbade9ccb8c208295b35f5afbc7913b (diff)
Update the grammar a bit
Diffstat (limited to 'bindings/go')
-rw-r--r--bindings/go/binding_test.go4
-rw-r--r--bindings/go/go.mod5
2 files changed, 2 insertions, 7 deletions
diff --git a/bindings/go/binding_test.go b/bindings/go/binding_test.go
index c4efff1..6e7fa2e 100644
--- a/bindings/go/binding_test.go
+++ b/bindings/go/binding_test.go
@@ -3,8 +3,8 @@ package tree_sitter_gsp_test
import (
"testing"
- tree_sitter "github.com/smacker/go-tree-sitter"
- "github.com/tree-sitter/tree-sitter-gsp"
+ tree_sitter "github.com/tree-sitter/go-tree-sitter"
+ tree_sitter_gsp "github.com/tree-sitter/tree-sitter-gsp/bindings/go"
)
func TestCanLoadGrammar(t *testing.T) {
diff --git a/bindings/go/go.mod b/bindings/go/go.mod
deleted file mode 100644
index 38c34a6..0000000
--- a/bindings/go/go.mod
+++ /dev/null
@@ -1,5 +0,0 @@
-module github.com/tree-sitter/tree-sitter-gsp
-
-go 1.22
-
-require github.com/smacker/go-tree-sitter v0.0.0-20230720070738-0d0a9f78d8f8