title: go compile error: unknown field in struct literal
body: <p>I have a go package that has the following struct:</p>
  
  <pre><code>package transforms
  type MqttConfig struct {
      Qos            byte  
  }
  
  type KeyCertPair struct { 
      KeyFile      string 
  }    
  </code></pre>
  
  <p>In my main.go, I import the package and use both of them liek this:</p>
  
  <pre><code>    import ( sdkTransforms "github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms")
  
      type AWSMQTTConfig struct {
          MQTTConfig  *sdkTransforms.MqttConfig
          KeyCertPair *sdkTransforms.KeyCertPair
      }
  
      config := AWSMQTTConfig{}
  
      //FIRST
      pair := &amp;sdkTransforms.KeyCertPair{
              KeyFile:  mqttKey,
      }
  
      //SECOND
      mqttcfg := &amp;sdkTransforms.MqttConfig{
              Qos:            2,    
      }
  </code></pre>
  
  <p>But only the second usage gives me this compile error:</p>
  
  <pre><code>unknown field 'Qos' in struct literal of type transforms.MqttConfig
  </code></pre>
  
  <p>I don't understand what's wrong.                                                                                                                        </p>