Skip to content

Instantly share code, notes, and snippets.

@jochasinga jochasinga/array.go
Created Sep 30, 2014

Embed
What would you like to do?
Array in Go
package main
import "fmt"
func main() {
var x [5]int
x[4] = 100
fmt.Println(x)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.