Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
784 B

# Slices
Slices are similar to arrays but are more powerful and flexible. Like arrays, slices are also used to store multiple values of the same type in a single variable. However, unlike arrays, the length of a slice can grow and shrink as you see fit.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://go.dev/tour/moretypes/7'>Go Slices</BadgeLink>
<BadgeLink badgeText='Read' href='https://go.dev/doc/effective_go#slices'>Effective Go: Slices</BadgeLink>
<BadgeLink badgeText='Read' href='https://www.w3schools.com/go/go_slices.php'>Slices in Go</BadgeLink>
<BadgeLink badgeText='Watch' href='https://youtu.be/YS4e4q9oBaU?t=6473'>Learn Go Programming - Slices (by freeCodeCamp on YouTube)</BadgeLink>