Check out www.nutils.org Nutils is an open source numerical utilities software that includes FEM, IGA, DG, etc. The examples file includes a DG sample code for the burgers equation that you can check out on http://www.nutils.org/en/latest/examples/burgers/
Enjoy and feel free to reach out if you have any questions.