add exception to golang
parent
b517d47a84
commit
6b0a132161
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue