How to batch upsert with the Golang client

Hi, wanted to know if somebody can point me to some docs on how to make a batch upsert correctly with the Golang client ? Is it implemented via an API or it’s something more manual ? If so, can I get some basic example code on how to do this ?


Checkout the examples in the readme of the Golang client: GitHub - dgraph-io/dgo: Official Dgraph Go client