c => 'text/x-csrc',
cpp => 'text/x-c++src',
cs => 'text/x-csharp', # Used by GNOME. Not in mime.types.
+ go => 'text/plain', # ?
+ hs => 'text/x-haskell',
java => 'text/x-java',
pas => 'text/x-pascal',
pl => 'text/x-perl',
use constant FORMAT_EXTENSION => {
C => 'c',
CPP => 'cpp',
+ GCCGO => 'go',
+ GOLANG => 'go',
+ HASKELL => 'hs',
MONO => 'cs',
JAVA => 'java',
PASCAL => 'pas',