Created
September 5, 2019 14:41
-
-
Save Sher-Chowdhury/f5dfa71b24437c4b15e9884f4dd6f346 to your computer and use it in GitHub Desktop.
gsg - slice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var theSlice = []string{"uk", "usa", "canada"} | |
fmt.Println(theSlice[1]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment