template1

command
v0.0.0-...-4344c7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Declare a nil slice of integers. Create a loop that appends 10 values to the slice. Iterate over the slice and display each value.

Declare a slice of five strings and initialize the slice with string literal values. Display all the elements. Take a slice of index one and two and display the index position and value of each element in the new slice.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL