Programming/기타
(Go) Go 개발환경 세팅
armyost
2022. 3. 29. 05:32
728x90
Windows 개발환경에 세팅하는 방법이다.
1. Go SDK다운로드
https://go.dev/dl/
2. 환경변수 GOPATH 세팅
3. 개발폴더 정하기
개발폴더를 정하고 바탕화면에 바로가기를 만들어 놓는다. (선택)
4. VSCode를 설치
https://code.visualstudio.com/docs/?dv=win
Documentation for Visual Studio Code
Find out how to set-up and get the most from Visual Studio Code. Optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
5. VSCode Go 확장 설치
6. main.go를 만들고 입력을 시작하면 우측 하단에 여러 툴을 설치하라는 메세지가 나오는데 이때 Install All을 눌러서 다 설치하면 된다.