title: Golang sql named parameter query
body: <p>I am trying to use named parameter query in golang as follows:</p>
  
  <pre><code>stmt, err := db.Prepare("insert into users(name, email) values(@name, @email)")
  if err != nil {
      //error handling
  }
  
  res, err := stmt.Exec(sql.Named("name", name), sql.Named("email", email))
  
  if err != nil {
          //error: sql: expected 0 arguments, got 2 
  }
  </code></pre>
  
  <p>I get the following error: "sql: expected 0 arguments, got 2".</p>
  
  <p>What is correct way to write this query?              </p>