This looks like a lot of hassle with string manipulation, and nowadays developers expect something easier and more structured like:
type Player struct {
id string `nebula: "vid"`
name string `nebula:"name"`
age int `nebula:"age"`
}
player := Player{id: "player100", name: "Tim", age: 33}
nebulaClient.insert(player)
Take one example from the go client:
This looks like a lot of hassle with string manipulation, and nowadays developers expect something easier and more structured like: