<commit_before>### Database
---

  Only accept https://github.com/jinzhu/gorm. "mysql", "sqlite", "postgresql" are supported by gorm

  Initialize db by

      DB, err = gorm.Open("mysql", fmt.Sprintf("%s:%s@/%s?charset=utf8&parseTime=True&loc=Local", dbUser, dbPwd, dbName))

### Initialize Admin
---

      config := qor.Config{DB: &DB}
      Admin := admin.New(&config)

### Add resource
---

  AddResource function accept 2 parameters

  1. resource
  2. menu that link to this resource

      user := Admin.AddResource(&User{}, &admin.Config{Menu: []string{"User Management"}})

### Route
---

  Initialize a mux and mount Admin to it.

    mux := http.NewServeMux()
    Admin.MountTo("/admin", mux)

### Server
---

  Listen and serve and you're done !

    http.ListenAndServe(":9000", mux)
<commit_msg>Rework Base-configuration. based on quick example and add other configurations link to it.<commit_after>Setup usable Admin step by step.

### 1. Database
Use [gorm](https://github.com/jinzhu/gorm) as ORM for example.

      DB, _ := gorm.Open("sqlite3", "demo.db")
      DB.AutoMigrate(&User{}, &Product{})

### 2. Initialize admin and register resources to it.

      Admin := admin.New(&qor.Config{DB: &DB})
      Admin.AddResource(&User{}, &admin.Config{Menu: []string{"User Management"}})
      Admin.AddResource(&Product{}, &admin.Config{Menu: []string{"Product Management"}})

### 3. Authentication
[Authentication]()

### 4. Register route and start server

      mux := http.NewServeMux()
      Admin.MountTo("/admin", mux)
      http.ListenAndServe(":9000", mux)

Now a run-able admin has been created. You can start adding [Navigation](), [Roles](), Configure [Field](), [Filter](), [Search]() and [Localization]().

{'fraction_non_alphanumeric': 0.1676267281105991, 'fraction_numerical': 0.009792626728110598, 'mean_word_length': 3.7329700272479562, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4800967', 'n_tokens_mistral': 571, 'n_tokens_neox': 543, 'n_words': 156}