1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

Add slices content (#1780)

* Update 113-slices.md

* Update content/roadmaps/109-golang/content/100-go-basics/113-slices.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Mattia De Vivo
2022-09-18 12:22:18 +02:00
committed by GitHub
parent 6e1f57a2a6
commit 4a5b349b8a

View File

@@ -1 +1,9 @@
# Slices # 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/6'>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>