This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch 3.8-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit 8aad40518b11c8f8b7ea53d0cea5492105363f61
Merge: 0833258a5a c8665d6852
Author: Cole Greer <[email protected]>
AuthorDate: Mon Jan 12 12:08:04 2026 -0800

    Merge branch '3.7-dev' into 3.8-dev

 gremlin-examples/gremlin-go/basic_gremlin.go     | 17 ++++++-----
 gremlin-examples/gremlin-go/connections.go       | 31 ++++++++++----------
 gremlin-examples/gremlin-go/modern_traversals.go |  3 +-
 gremlin-go/docker-compose.yml                    |  8 ++++-
 gremlin-go/examples/basic_gremlin.go             | 25 +++++++++++-----
 gremlin-go/examples/connections.go               | 37 ++++++++++++++----------
 gremlin-go/examples/modern_traversals.go         | 14 ++++++++-
 7 files changed, 87 insertions(+), 48 deletions(-)

diff --cc gremlin-go/examples/connections.go
index 75c64c75e5,f2883e371d..15c4ba1744
--- a/gremlin-go/examples/connections.go
+++ b/gremlin-go/examples/connections.go
@@@ -43,17 -54,13 +54,13 @@@ func withRemote() 
        // Cleanup
        defer driverRemoteConnection.Close()
  
 -      // Creating the graph traversal
 -      g := gremlingo.Traversal_().WithRemote(driverRemoteConnection)
 +      // Creating graph traversal
 +      g := gremlingo.Traversal_().With(driverRemoteConnection)
  
-     // Drop existing vertices
-     prom := g.V().Drop().Iterate()
-     <-prom
- 
-     // Simple query to verify connection
-     g.AddV().Iterate()
-     count, _ := g.V().Count().Next()
-     fmt.Println("Vertex count:", *count)
+       // Simple query to verify connection
+       g.AddV(vertexLabel).Iterate()
+       count, _ := g.V().HasLabel(vertexLabel).Count().Next()
+       fmt.Println("Vertex count:", *count)
  }
  
  func withConfigs() {

Reply via email to