1. 설치하기
운영체제에 따라 프로그램 설치
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
2. 환경변수 설정
윈도우 시스템 환경변수 -> 사용자 변수
3. hello, world! 프린트하기
package main
import "fmt"
func main(){
fmt.Println("Hello, World!")
}
hello world는 항상 짜릿하다
'개발일기 > go' 카테고리의 다른 글
[golang] outlook 메일 전송 (0) | 2024.01.17 |
---|---|
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (0) | 2023.08.03 |
[Golang] Golang 재설치(버전 변경), Golang 설치 (0) | 2022.12.07 |
[go] go routine (0) | 2021.08.27 |