title: golang ORM name of table
body: <p>I have some code to create the table in Postgres DB</p>
  
  <pre><code>import (
      "github.com/jinzhu/gorm"
      _ "github.com/lib/pq"
  )
  type Table struct {
      Id   int    `gorm:"primary_key"`
      Name string `gorm:"type:varchar(100)"`
      Addr string `gorm:"type:varchar(100)"`
  }
  func main() {
      db, _ := gorm.Open("postgres", "user=postgres password=poilo777 dbname=mydb sslmode=disable")
      defer db.Close()
      db.CreateTable(&amp;Table{}) 
      user := &amp;Table{Name: "ololo", Addr: "pololo"}
  </code></pre>
  
  <p>there are 2 problems, i faced:
  1) in database created a table "tables" instead of "Table"
  2) how can I insert data in existing another tables? (for example "users")</p>