The Go client seems very good, but i cannot find documentation on the ways to express a lot of things, and the code itself does not give anything away. I wonder if anyone knows of examples or documentation for Go. I see the official documentation does not have Go examples, and the language variant tool does not support Go.
I am trying to work out how to set the label on a vertex using the MergeV() step and the Option OnCreate like this:
g.MergeV(match).
Option(gremlingo.Merge.OnCreate, props).
The match and props are a map[string]interface and I see that in Groovy and other languages, it seems there is some magic that says [(T.label): "llll", .... or something like that. The vertexes get created, but I have tried different property names ("label", "Label", etc) to try and set the label, with no success. And tried searching the code for anything that looks like it is the equivalent of the Groovy syntax.
So, how do I specify the label in this scenario using the Go client?