// hello.go package main import "fmt" func main() { fmt.Printf("Hello world \n") }
hello.go 파일 빌드
go build hello.go
데몬 파일 실행
./hello