Quick actions

cmd+k|ctrl+k

Navigation

Languages

Slices / Length and capacity / Essential Go

Snippet info

Language

Go

Visibility

public

Author

kkowalczyk

Created

2019-04-18T17:10:17Z

Updated

2019-04-18T17:10:17Z

package main

import "fmt"

func main() {
	s := make([]int, 3)
	fmt.Println(s[5])
}
INFO