Skip to content

Commit

Permalink
handle new satori/go.uuid uuid.NewV4()
Browse files Browse the repository at this point in the history
  • Loading branch information
robertino committed Feb 16, 2018
1 parent df9effc commit 35d1a65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion request.go
Expand Up @@ -61,8 +61,10 @@ func Query(query string) *Request {
Gremlin: query,
Language: "gremlin-groovy",
}
u, _ := uuid.NewV4()
uuidString := u.String()
req := &Request{
RequestId: uuid.NewV4().String(),
RequestId: uuidString,
Op: "eval",
Processor: "",
Args: args,
Expand Down

0 comments on commit 35d1a65

Please sign in to comment.