"Go build"의 두 판 사이의 차이

 
25번째 줄: 25번째 줄:


==같이 보기==
==같이 보기==
{{z컬럼3|
* [[go run]]
* [[go run]]
* [[go test]]
* [[go test]]
* [[Go 헬로우 월드]]
* [[Go 헬로우 월드]]
* [[go build 버전 정보 추가]]
* [[Go 헬로우 월드 빌드·실행]]
* [[Go 헬로우 월드 빌드·실행]]
}}


==참고==
==참고==

2024년 7월 3일 (수) 16:14 기준 최신판

1 개요[ | ]

go build
user01@localhost:~/temp$ ls
hello.go
user01@localhost:~/temp$ cat hello-world.go
package main
import "fmt"
func main() {
    fmt.Println("hello world")
}
user01@localhost:~/temp$ go build hello.go
user01@localhost:~/temp$ ls
hello  hello.go
user01@localhost:~/temp$ ./hello
hello world

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}