From 6b0a1321610e7f8ed107a9190febe27dc0584f21 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 1 Nov 2016 15:12:26 +0000 Subject: [PATCH] add exception to golang --- handlers/editor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/editor.go b/handlers/editor.go index ee26bd69..f7714ac4 100644 --- a/handlers/editor.go +++ b/handlers/editor.go @@ -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