title: How check if a property was set in a struct
body: <p>I am trying to find how check if a structure property was set, but i cannot find any way.</p>
  
  <p>I expect something like this but of corse this not works:</p>
  
  <pre><code>type MyStruct struct {
      property    string
  }
  
  test := new(MyStruct)
  if test.property {
      //do something with this
  }
  </code></pre>