Function: go-run

go-run is an interactive and natively compiled function defined in gotest.el.

Signature

(go-run &optional ARGS)

Documentation

Launch go run on current buffer file.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/y8iliarhkh17m4iiwcy1hbi78r7b5489-emacs-packages-deps/share/emacs/site-lisp/elpa/gotest-20230221.945/gotest.el
;;;###autoload
(defun go-run (&optional args)
  "Launch go run on current buffer file."
  (interactive)
  ;;(add-hook 'compilation-start-hook 'go-test-compilation-hook)
  (compile (go-test--go-run-get-program (go-test--go-run-arguments))
           (pcase current-prefix-arg
             ((or `(16) `(64)) t)))
  ;;(remove-hook 'compilation-start-hook 'go-test-compilation-hook))
  )