diff --git a/src/Language.hs b/src/Language.hs index 1a7246c5a..d97c08f04 100644 --- a/src/Language.hs +++ b/src/Language.hs @@ -27,6 +27,7 @@ data Language = | R | Ruby | Swift + | Go deriving (Show) -- | Returns a Language based on the file extension (including the "."). @@ -37,6 +38,7 @@ languageForType mediaType = case mediaType of ".js" -> Just JavaScript ".md" -> Just Markdown ".rb" -> Just Ruby + ".go" -> Just Go _ -> Nothing termConstructor