title: cannot unmarshal !!seq into string in Go
body: <p>I am getting the following error while using sequence of array in yaml file. I am not sure what fix required to be applied as I am new to 'Go' and learning the program.</p>
  <pre><code>2021/07/28 14:16:07 yaml: unmarshal errors:
    line 3: cannot unmarshal !!seq into string
  </code></pre>
  <p><strong>Yaml:</strong></p>
  <p>ENV:
  attributes:
  - foo
  - boo
  - coo</p>
  <p><strong>code:</strong></p>
  <pre><code>package test
  
  import (
      &quot;fmt&quot;
      &quot;gopkg.in/yaml.v3&quot;
      &quot;io/ioutil&quot;
      &quot;log&quot;
      &quot;testing&quot;
  )
  
  type ENV struct {
      Attributes string `yaml:&quot;attributes&quot;`
  }
  
  
  func TestTerraformAzureCosmosDBExample(t *testing.T) {
  
  
      yFile, err := ioutil.ReadFile(&quot;config.yaml&quot;)
  
  
      if err != nil {
          log.Fatal(err)
      }
  
      data := make(map[string]ENV)
  
      err = yaml.Unmarshal(yFile, &amp;data)
      if err != nil {
          log.Fatal(err)
      }
      for k, v := range data {
          fmt.Printf(`key: %v, value: %v`, k,v)
      }
  
  }
  </code></pre>
  <p><strong>Expected:</strong></p>
  <p>foo
  boo
  coo</p>
  <p><strong>Actual:</strong></p>
  <pre><code>C:\Pfoo\boo&gt;go test -v
  === RUN   TestTerraformAzureCosmosDBExample
  2021/07/28 14:16:07 yaml: unmarshal errors:
    line 3: cannot unmarshal !!seq into string
  exit status 1
  FAIL    foo_test   0.199s
  </code></pre>