It complains about invalid "/" characters...because beego compress doesn't handle comments properly. Once all of the comments are removed it works.