Skip to content

Go layer - cannot run main in the way VSCode does #14808

Answered by stradicat
stradicat asked this question in Q&A
Discussion options

You must be logged in to vote

I think that did it.

In spacemacs/layers/+lang/go/funcs.el, line 147:

   (format (concat go-run-command " %s %s .")

Changing it to

   (format (concat go-run-command " .")

did the trick.

Thanks for the heads-up!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@stradicat
Comment options

@lebensterben
Comment options

@lebensterben
Comment options

@stradicat
Comment options

Answer selected by smile13241324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14806 on May 28, 2021 19:59.