Renamed backend to driver
This commit is contained in:
parent
94fc0a2521
commit
11bfad2844
@ -1,5 +1,5 @@
|
||||
[database]
|
||||
backend = "sqlite3"
|
||||
driver = "sqlite3"
|
||||
url = "gopay.db"
|
||||
ssl = false
|
||||
max = 30
|
||||
|
@ -8,11 +8,11 @@ type Config struct {
|
||||
|
||||
// Database configuration
|
||||
type Database struct {
|
||||
Backend string `toml:"backend"`
|
||||
URL string `toml:"url"`
|
||||
SSL bool `toml:"ssl"`
|
||||
Max int `toml:"max"`
|
||||
Idle int `toml:"idle"`
|
||||
Driver string `toml:"driver"`
|
||||
URL string `toml:"url"`
|
||||
SSL bool `toml:"ssl"`
|
||||
Max int `toml:"max"`
|
||||
Idle int `toml:"idle"`
|
||||
}
|
||||
|
||||
// Log configuration
|
||||
|
Loading…
Reference in New Issue
Block a user