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

33번째 줄: 33번째 줄:
* https://gobyexample.com/hello-world
* https://gobyexample.com/hello-world


[[분류:  Go CLI]]
[[분류:  Go build]]

2024년 7월 3일 (수) 16:13 판

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 }}