title: Go , there is no parameter $1
body: <p>Im trying to get the values of the database by this way. But the compiler throw me an error when I go to /myapps direction.</p>
  
  <p>Structure:</p>
  
  <pre><code>type App struct{
      Title string
      Author string
      Description string
  }
  </code></pre>
  
  <p>Function:</p>
  
  <pre><code>func myappsHandler(w http.ResponseWriter, r *http.Request){
      db, err := sql.Open("postgres"," user=postgres dbname=lesson4 host=localhost password=1234 sslmode=disable")
      if err != nil{
          log.Fatal(err)
      }
          rows, err := db.Query(`SELECT title, author, description FROM apps
                                   WHERE title ILIKE $1
                                   OR author ILIKE $1
                                   OR description ILIKE $1`)
              defer rows.Close()
  
              if err != nil{
                  log.Fatal(err)
              }
  
              apps := []App{}
              for rows.Next(){
                  b := App{}
                  err := rows.Scan(&amp;b.Title, &amp;b.Author, &amp;b.Description)
  
                  if err != nil{
                  log.Fatal(err)
              }
                  apps = append(apps, b)
              }
  
              render(w, "myapps.html", map[string]interface{}{"apps" : apps})
  
          db.Close()
  }
  </code></pre>
  
  <p>I read like this in the HTML:</p>
  
  <pre><code>{{ range .apps}}
    &lt;tr&gt;
      &lt;td&gt;{{ .Title }}&lt;/td&gt;
      &lt;td&gt;{{ .Author }}&lt;/td&gt;
      &lt;td&gt;{{ .Description }}&lt;/td&gt;
      &lt;td&gt; &lt;form action="/delete"&gt;
            &lt;p class="navbar-form navbar-right"&gt;&lt;button type="submit" class="btn btn-danger"&gt;Borrar&lt;/button&gt; &lt;/p&gt;
         &lt;/form&gt;&lt;/td&gt;
    &lt;/tr&gt;
  {{ end  }}
  </code></pre>
  
  <p>The error is :   there is no parameter $1.</p>
  
  <p>Thank you in advance.</p>