title: Golang serialize/deserialize an Empty Array not as null
body: <p>Is there a way to serialize an empty array attribute (not null) of a struct and deserialize it back to an empty array (not null again)?</p>
  
  <p>Considering that an empty array is actually a pointer to null, is the perceptible initial difference between an empty array and pointer to null completely lost after serialize/deserialize?</p>
  
  <p>The worst practical scenario is that when I show an empty array attribute to my REST client, as a json "att":[], at first time, and, after cache register to redis and recover it, the same attribute is shown to my client as "att":null, causing a contract broken and a lot of confusing.</p>
  
  <p><strong>Summing up</strong>: is possible to show the Customer 2 addresses like an json empty array, after serialize/deserialize => <a href="https://play.golang.org/p/TVwvTWDyHZ" rel="noreferrer">https://play.golang.org/p/TVwvTWDyHZ</a></p>