Support for go module

Moved from GitHub dgo/15

Posted by samadadi:

Hi, Go v1.11 is already out with support for modules and other projects slowly are adapting themselves with it. Please adopt this project to go modules too. Thank you so much.

sirkon commented :

Any progress on this issue?

srfrog commented :

No it was put on ice until Go support is non-beta.

jgoodall commented :

@srfrog - I don’t understand your comment. Did you mean you are not going to support go modules until go 1.13?

srfrog commented :

That is correct. I had made a couple of PRs for this, but we decided to wait until most issues are resolved and the feature is officially supported in Go. But I plan to add go mod support to all the repos: dgo, badger and dgraph.