go lang
Download & install
for mac
brew install gogo env
hello world
- hello.go
textpackage main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
- 실행
textgo run hello.go
- build
textgo build hello.go
./hello
brew install gogo envtextpackage main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
textgo run hello.go
textgo build hello.go
./hello