Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dvliman
Created June 1, 2019 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvliman/36427a31aa94679792c8d21716032a4e to your computer and use it in GitHub Desktop.
Save dvliman/36427a31aa94679792c8d21716032a4e to your computer and use it in GitHub Desktop.
(defun spacemacs/go-run-directory ()
(interactive)
(shell-command
(format "go run %s" (concat (file-name-directory (buffer-file-name)) "*.go"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment