 (define-derived-mode gotn-mode compilation-mode "gotn"
   "Major mode for the gotn compilation buffer."
   (use-local-map gotn-mode-map)
-  (setq major-mode 'gotn-mode)
-  (setq mode-name "gotn")
   (setq truncate-lines t)
   (font-lock-add-keywords nil nil))
 

;;     (local-set-key (kbd "C-c t") 'gotn-run-test))
;;     (local-set-key (kbd "C-c C-t") 'gotn-run-test-package)))
;;
;; For more details visit: https://github.com/yauhenl/gotn

;;; Code:


  :type 'boolean
  :group 'gotn)

(defun gotn--compilation-name (_mode-name)
  "Name of the go test.  _MODE-NAME is unused."
  "*Go test*")

(defun gotn--run-test-as-compilation (cmd)
