๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

Data Base/Go28

[์‰ฝ๊ณ  ๋น ๋ฅธ Go ์‹œ์ž‘ํ•˜๊ธฐ] #1.0 Main Package [์ถœ์ฒ˜ - Nomad Coders] package main // Go์—์„œ๋Š” ์–ด๋–ค ํŒจํ‚ค์ง€๋ฅผ ์‚ฌ์šฉํ•˜๋Š”์ง€ ์ž‘์„ฑํ•ด์ค˜์•ผ ํ•œ๋‹ค. import "fmt" // Go์—์„œ๋Š” "fmt"๋ผ๋Š” ๊ธฐ๋ณธ์ ์ธ formatting package๋ฅผ ์ œ๊ณตํ•ด ์ค€๋‹ค. func main() { fmt.Println("Hello world!") // stdout ์œผ๋กœ ํ‘œ์ค€ ๋ฌธ์ž์—ด ์ถœ๋ ฅ์„ ์ œ๊ณตํ•˜๋Š” ํ•จ์ˆ˜ } 2021. 10. 26.
[Golang] main.go ํ”„๋กœ์ ํŠธ๋ฅผ ์ปดํŒŒ์ผํ•˜๊ณ ์‹ถ์œผ๋ฉด ํŒŒ์ผ๋ช…์€ ๋ฌด์กฐ๊ฑด main.go ๋กœ ํ•ด์•ผ ํ•œ๋‹ค. 2021. 10. 26.
[Golang] Go๋Š” ๋‚ด๊ฐ€ ์›ํ•˜๋Š” ๊ณณ์— ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ๋งŒ๋“ค์–ด์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๋‹ค. Go์˜ ์ฝ”๋“œ๋Š” ๋ฌด์กฐ๊ฑด Go PATH ๋””๋ ‰ํ† ๋ฆฌ์— ์ €์žฅ๋˜์–ด์•ผ ํ•œ๋‹ค. /(local)user/go/ Github ํด๋”๋‚˜ Downloads, Desktop ๋“ฑ๋“ฑ์— ์ €์žฅ ํ•  ์ˆ˜ ์—†๋‹ค ! ๊ทธ๋ฆฌ๊ณ  go ๋””๋ ‰ํ† ๋ฆฌ์—๋Š” ์•„๋ž˜์™€ ๊ฐ™์€ 3๊ฐœ์˜ ๋””๋ ‰ํ† ๋ฆฌ๊ฐ€ ์žˆ์–ด์•ผ ํ•œ๋‹ค 2021. 10. 26.
[Golang] Go ์„ค์น˜ํ•˜๊ธฐ https://golang.org/doc/install Download and install - The Go Programming Language Download and install Download and install Go quickly with the steps described here. For other content on installing, you might be interested in: 1. Go download. Click the button below to download the Go installer. Download Go Don't see your operating syste golang.org ์„ค์น˜ ํ›„ Mac ๊ธฐ์ค€ local ์— go < ๋ผ๋Š” ํด๋”๊ฐ€ ์žˆ์œผ๋ฉด ๋œ๋‹ค. terminal.. 2021. 10. 26.
๋ฐ˜์‘ํ˜•