title: No anonymous array in go?
body: <p>Instead of doing:</p>
  
  <pre><code>var adapters[]LogicAdapter
  adapter1 := &amp;ExampleAdapter{0.9}
  adapter2 := &amp;ExampleAdapter{0.8}
  adapters = append(adapters, adapter1, adapter2)
  bot := ChatterBot{"Charlie", MultiLogicAdapter{adapters}}
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>bot := ChatterBot{
      "Charlie", 
      MultiLogicAdapter{
          []LogicAdapter{
              &amp;ExampleAdapter{0.9},
              &amp;ExampleAdapter{0.8}
          }
      }
  }
  </code></pre>
  
  <p>But why this won't work? I cannot see any problems with the syntax, it's like I were creating a new slice and putting it into there. Here are the errors:</p>
  
  <pre><code>./main.go:16: syntax error: unexpected semicolon or newline, expecting comma or }
  ./main.go:21: syntax error: unexpected semicolon or newline, expecting comma or }
  ./main.go:22: syntax error: unexpected semicolon or newline, expecting comma or }
  </code></pre>