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 Code review comments: declaring empty slices.