프로그래밍/Go

HelloWorld 예제 with Go 언어

Scripter 2012. 6. 15. 14:42

 

 

// Filename: HelloWorld.go
//
// Execute: go run HelloWorld.go
// or
// Compile: go build HelloWorld.go
// Execute: ./HelloWorld

package main

import "fmt"

func main() {
    fmt.Printf("Hello, world!\n")
}