add exception to golang

This commit is contained in:
Henrique Dias 2016-11-01 15:12:26 +00:00
parent b517d47a84
commit 6b0a132161

View File

@ -35,6 +35,8 @@ func GetEditor(i *file.Info) (*Editor, error) {
editor.Mode = "html"
case "js":
editor.Mode = "javascript"
case "go":
editor.Mode = "golang"
}
var page parser.Page