Pass Idiomatic graphQL+- through Dgo - RPC

If you wanna send RDF format just use txn.Mutate(ctx, mu). It accepts JSON (if so) and RDF. In case of RDF you use SetNquads and DeleteNquads instead of SetJson.

source GitHub - dgraph-io/dgo: Official Dgraph Go client