This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 9f85e9123d CTR Modernize gremlin-go README
9f85e9123d is described below
commit 9f85e9123d5b8d295a11c1cd09fc666eac0a18bf
Author: Cole Greer <[email protected]>
AuthorDate: Tue Mar 31 16:59:31 2026 -0700
CTR Modernize gremlin-go README
---
gremlin-go/README.md | 2 +-
gremlin-go/driver/README.md | 16 ++++++----------
2 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/gremlin-go/README.md b/gremlin-go/README.md
index c1bd1c1444..d0d225d3c7 100644
--- a/gremlin-go/README.md
+++ b/gremlin-go/README.md
@@ -115,7 +115,7 @@ if err != nil {
}
```
### Find Vertices
-Getting the property value associated with the added vertex. We currently only
support `ToList()` for submitting the remote traversal. Support for `Next()`
will be implemented in the subsequent milestones.
+Getting the property value associated with the added vertex.
```go
result, err := g.V().HasLabel("gremlin").Values("language").ToList()
// Handle error
diff --git a/gremlin-go/driver/README.md b/gremlin-go/driver/README.md
index bd3c940ab8..cb94120117 100644
--- a/gremlin-go/driver/README.md
+++ b/gremlin-go/driver/README.md
@@ -22,7 +22,7 @@
## Prerequisites
-* `gremlin-go` requires Golang 1.22 or later, please see [Go Download][go] for
more details on installing Golang.
+* `gremlin-go` requires Golang 1.25 or later, please see [Go Download][go] for
more details on installing Golang.
* A basic understanding of [Go Modules][gomods]
* A project set up which uses Go Modules
@@ -53,13 +53,12 @@ module gremlin-go-example
go 1.25
-require github.com/apache/tinkerpop/gremlin-go
v0.0.0-20220131225152-54920637bf94
+require github.com/apache/tinkerpop/gremlin-go/v3 v<version>
require (
- github.com/google/uuid v1.3.0 // indirect
- github.com/gorilla/websocket v1.4.2 // indirect
- github.com/nicksnyder/go-i18n/v2 v2.1.2 // indirect
- golang.org/x/text v0.3.7 // indirect
+ github.com/google/uuid v1.6.0 // indirect
+ github.com/nicksnyder/go-i18n/v2 v2.6.0 // indirect
+ golang.org/x/text v0.32.0 // indirect
)
```
As well as a populated `go.sum` file.
@@ -72,15 +71,12 @@ For instructions on simple usage, including connecting,
connection settings, ali
## Troubleshooting
### Can't establish connection and get any result
-* Verify you are using valid server protocol and path. Note that for secure
connection `wss` should be used.
+* Verify you are using valid server protocol and path. Note that for secure
connection `https` should be used.
* Verify firewall settings.
### Local server doesn't have valid certificate
* Set connection option &tls.Config{InsecureSkipVerify: true}
-### Client hangs on requests with large amount of data
-* Increase read buffer size by settings connection option `readBufferSize`.
-
# Gremlin-Go Development
## Design Architecture