How to run a "Go" file?

(Paul A. Gureghian) #21
    "configurations": [       
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program":  "${workspaceFolder}/hello.go",
            "env": {},
            "args": []

(Paul A. Gureghian) #22

This is the best I can do given the advice I have received. dont know if its correct though.

(Paul A. Gureghian) #23

Dont know where to put the path to my go.exe, is it where /hello.go is ?

(catacombs) #24

I’d suggest watching a YouTube tutorial on setting up a Go development environment on Windows then a video on using Go with VSCode. Perhaps that’ll answer your questions.

(system) closed #25

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.