 function has basic logic to indent as you add new lines to a
 multiline comment, and to line up all the `*' if each line starts
 with `*'. The gofmt behavior for multiline comments is
-suprisingly complex and strange/buggy, so we just aim to do
+surprisingly complex and strange/buggy, so we just aim to do
 something simple rather than encode all the subtle behavior."
   (let* (;; Indent of current line.
          (indent (current-indentation))

  "Match single result types.

Parenthetical result lists are handled by the param list keyword,
so we need a separate keyword to handle singular reuslt types
such as \"string\" in:

func foo(i int) string"

You can install gogetdoc with 'go get -u github.com/zmb3/gogetdoc'."
  (if (not (buffer-file-name (go--coverage-origin-buffer)))
      ;; TODO: gogetdoc supports unsaved files, but not introducing
      ;; new artificial files, so this limitation will stay for now.
      (error "Cannot use gogetdoc on a buffer without a file name"))
  (let ((posn (format "%s:#%d" (file-truename buffer-file-name) (1- (position-bytes point))))
        (out (godoc--get-buffer "<at point>")))
