Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 224 Bytes

go.markdown

File metadata and controls

23 lines (17 loc) · 224 Bytes

Go lang

Hello world

package main

import "fmt"

func main() {
  x := "Hello World"
  y := [2]string{"Hello", "world"}

  fmt.Println(x)
  fmt.Println(y)
}
> go run temp.go
Hello World
[Hello world]