add exception to golang

pull/144/head
Henrique Dias 2016-11-01 15:12:26 +00:00
parent b517d47a84
commit 6b0a132161
1 changed files with 2 additions and 0 deletions

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