mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- Replace db.Where("key = ?", ...) with db.Where(&Setting{Key: ...}) for type-safe queries
- Replace db.Order("category, key") with structured clause.OrderBy in list API
- Replace tx.Where("key = ?", ...) with tx.Where(&models.Setting{Key: ...}) in update API
- Replace db.Where("key = ?", ...) with db.Where(&Setting{Key: ...}) in InitSettings, settingCache, SetSetting
|
5 days ago | |
|---|---|---|
| .. | ||
| init.go | 3 months ago | |
| list.go | 5 days ago | |
| update.go | 5 days ago | |