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