VSCODE 개발환경 셋팅

2020. 5. 19. 23:34Backend Develop/Go

반응형

go lang 설치

http://golang.org/dl 

 

Downloads - The Go Programming Language

Downloads After downloading a binary release suitable for your system, please follow the installation instructions. If you are building from source, follow the source installation instructions. See the release history for more information about Go releases

golang.org

go lang이 설치되면 GOROOT는 환경 변수에 등록이 된다.

GOPATH는 환경 변수를 등록해야 한다.

GOROOT는 go lang이 설치된 폴더

GOPATH는 프로젝트 소스를 보관 할 위치

사용자 변수에 이름은 GOPATH, 값은  C:\Users\kwaneung\Documents\GitHub\go로 수정해준다.

 

다음으로 vscode를 실행해서

ctrl + shift + p -> 팔레트

extentions: install extentions -> go 검색 후 설치를 진행한다.

git을 설치한다.

https://git-scm.com/download/win

 

Git - Downloading Package

Downloading Git Now What? Now that you have downloaded Git, it's time to start using it.

git-scm.com

 

 

반응형

'Backend Develop > Go' 카테고리의 다른 글

Go Lang 시작하기  (0) 2020.05.19