slice

🖨️ Convert string to []byte or []byte to string in Go

Learn the difference between a string and a byte slice
introduction strings slice

🧠 Print the memory address of a variable in Go

Learn how to find and print the address of a variable or pointer
introduction pointer slice

🏟️ Capacity and length of a slice in Go

Learn what is the difference between length and capacity of a slice
introduction slice array

📚 Convert byte slice to io.Reader in Go

Learn how to satisfy io.Reader interface using byte slice
introduction slice

💡 Empty slice vs nil slice in Go

Learn what is the difference between empty and nil slice and when to use them
introduction slice

🍕 Compare two slices in Go

Learn how to check if two slices are equal
introduction slice strings