NewDgraphExecutor builds a DgraphExecutor for proxying requests through dgraph.
()
| 149 | |
| 150 | // NewDgraphExecutor builds a DgraphExecutor for proxying requests through dgraph. |
| 151 | func NewDgraphExecutor() DgraphExecutor { |
| 152 | return newDgraphExecutor(&dgraph.DgraphEx{}) |
| 153 | } |
| 154 | |
| 155 | func newDgraphExecutor(dg *dgraph.DgraphEx) DgraphExecutor { |
| 156 | return &dgraphExecutor{dg: dg} |
no test coverage detected