Home  >  Article  >  Development Tools  >  How to compile and run vscode in go language

How to compile and run vscode in go language

王林
王林Original
2020-02-05 17:40:5612657browse

How to compile and run vscode in go language

1. Run the go run command directly in the terminal to compile

As shown in the figure:

How to compile and run vscode in go language

2. Install the code Runner plug-in

How to compile and run vscode in go language

#After the installation is complete, restart vscode. Right-click and see an additional run code. The compilation result is the same as before, and the result is displayed in the output column.

How to compile and run vscode in go language

Related article tutorial sharing: vscode tutorial

The above is the detailed content of How to compile and run vscode in go language. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn