Liked
The difference between nil and empty slices in Go
by
![](https://ik.imagekit.io/freshman/Freshman-Banner-1000_nXNEaFNh8.png)
Post details
The difference between nil and empty slices are a common point of confusion for newbies to Go. This post discusses how they differ and when to use each one.
![](https://ik.imagekit.io/freshman/Freshman-Banner-1000_nXNEaFNh8.png)
This post was filed under likes.
Interactions with this post
Interactions with this post
Below you can find the interactions that this page has had using WebMention.
Have you written a response to this post? Let me know the URL:
Do you not have a website set up with WebMention capabilities? You can use Comment Parade.