본문 바로가기
go

[Go] IntelliJ에서 Go Language 프로젝트 구성 및 개발 환경 세팅

by Jayson Jeong 2023. 8. 28.

1. Go 설치

https://go.dev/learn/

 

Get Started - The Go Programming Language

Getting started In this tutorial, you'll get a brief introduction to Go programming. Along the way, you will install Go, write some simple "Hello, world" code, use the go command to run your code, use the Go package discovery tool, and call functions of an

go.dev

 

 

 

2. IntelliJ Go 플러그인 설치

File - Settings - Plugins - 'Go' 검색 - Install

 

3. 프로젝트 생성 및 실행

 

GOROOT가 설정되어 있지 않다면 Add SDK를 통해 GOROOT 설정