     st)
   "Syntax table for Go mode.")
 
-(defvar go-mode-keywords
-  '("break"    "default"     "func"   "interface" "select"
-    "case"     "defer"       "go"     "map"       "struct"
-    "chan"     "else"        "goto"   "package"   "switch"
-    "const"    "fallthrough" "if"     "range"     "type"
-    "continue" "for"         "import" "return"    "var")
-  "All keywords in the Go language.  Used for font locking and
-some syntax analysis.")
-
-
 (defun go--build-font-lock-keywords ()
   (append
    `((,(regexp-opt go-mode-keywords 'symbols) . font-lock-keyword-face)
      (,(regexp-opt go-builtins 'symbols) . font-lock-builtin-face)
      (,(regexp-opt go-constants 'symbols) . font-lock-constant-face)
-     (,go-func-regexp 1 font-lock-function-name-face) ;; function (not method) name
-     )
+     (,go-func-regexp 1 font-lock-function-name-face)) ;; function (not method) name
 
    (if go-fontify-function-calls
        `((,(concat "\\(" go-identifier-regexp "\\)[[:space:]]*(") 1 font-lock-function-name-face) ;; function call/method name

    (cond
     ((re-search-forward "^import ([^)]+)" nil t)
      (backward-char 2)
      'block
      )
     ((re-search-forward "\\(^import \\([^\"]+ \\)?\"[^\"]+\"\n?\\)+" nil t)
      'single
      )
     ((re-search-forward "^[[:space:]\n]*package .+?\n" nil t)
      (message "No imports found, moving point after package declaration")
      'none
      )
     (t
      (goto-char old-point)
      (message "No imports or package declaration found. Is this really a Go file?")


This mode provides (not just) basic editing capabilities for
working with Go code. It offers almost complete syntax
highlighting, indentation that is almost identical to gofmt and
proper parsing of the buffer content to allow features such as
navigation by function, manipulation of comments or detection of
strings.

In addition to these core features, it offers various features to
help with writing Go code. You can directly run buffer content
through gofmt, read godoc documentation from within Emacs, modify
and clean up the list of package imports or interact with the
