mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-31 23:16:22 -07:00
Remove "Verbosity" config field and rename "DebugMode" to "Verbose" for enabling command line output on errors
This commit is contained in:
parent
138b41bf0a
commit
8e9543970a
9 changed files with 43 additions and 26 deletions
|
@ -63,7 +63,7 @@ func SetupSQLString(query string, dbConn *GCDB) (string, error) {
|
|||
}
|
||||
prepared = strings.Join(arr, "")
|
||||
case "sqlmock":
|
||||
if config.GetDebugMode() {
|
||||
if config.VerboseMode() {
|
||||
prepared = query
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue