An empty slice can be represented by nil or an empty slice literal. The first approach is preferred as it does not lead to memory allocation.
See: https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices