We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec2c46 commit 8a9ed34Copy full SHA for 8a9ed34
src/lesson_08_type_silce.go
@@ -13,7 +13,7 @@ func main() {
13
fmt.Printf("first len(%d) cap(%d) = %v\n", len(first), cap(first), first) // first len(5) cap(15) = [0 0 0 0 0]
14
fmt.Printf("second len(%d) cap(%d) = %v\n", len(second), cap(second), second) // second len(7) cap(3) = [0 0 0]
15
fmt.Printf("third len(%d) cap(%d) = %v\n", len(third), cap(third), third) // third len(0) cap(0) = []
16
- fmt.Printf("fourth len(%d) cap(%d) = %v\n", len(fourth), cap(fourth), fourth) // fourth len(6) cap(6) = [1 2 3 4 5 6]
+ fmt.Printf("fourth len(%d) cap(%d) = %v\n", len(fourth), cap(fourth), fourth) // fourth len(6) cap(6) = [1 2 3 4 5 6]
17
18
fmt.Println("\n------------------------------------------------------------------\n")
19
0 commit comments