개요
Go 언어란?
-
Go started in September 2007 when Robert Griesemer, Ken Thompson, and I began discussing a new language to address the engineering challenges we and our colleagues at Google were facing in our daily work.
-
Go 사이트: https://go.dev/
Go 언어의 특성
- Build fast, reliable, and efficient software at scale
- Go is an open source programming language supported by Google
- Easy to learn and get started with
- Built-in concurrency and a robust standard library
- Growing ecosystem of partners, communities, and tools
Go 설치
- Go 사이트에서 해당 OS 버전 다운로드 (저는 윈도우)

- Go는 디폴트로 C:\go 폴더에 설치되며, MSI가 C:\go\bin을 PATH 환경변수를 추가
Workspace 생성
- 자신이 원하는 위치에 폴더를 생성하고 그 하위에 bin, pkg, src 3개의 폴더를 생성
- GOPATH 환경변수에 workspace 폴더 경로를 추가
Visual Studio Code 설치
- VS Code 사이트에서 다운로드
- Go Extension 설치 (저는 이미 설치)

- 앞서 생성했던 workspace 폴더 열기
- src 폴더에 새 test.go 파일을 만들고 코드를 작성
- 오른쪽 하단에 install 관련 팝업이 뜰 경우 install
유용한 사이트
A Tour of Go
프로그래머스 30분 Go
예제로 배우는 Go 프로그래밍
페이스북 GDG Golang Korea 페이지
Golang Korea 깃허브