🎨 Clean code
This commit is contained in:
parent
6970492034
commit
ee15219bbc
1 changed files with 0 additions and 7 deletions
|
@ -63,10 +63,3 @@ func putStat(tx *sql.Tx, key, value string) (err error) {
|
|||
err = execStmtTx(tx, stmt)
|
||||
return
|
||||
}
|
||||
|
||||
func getStat(key string) (ret string) {
|
||||
stmt := "SELECT value FROM stat WHERE `key` = '" + key + "'"
|
||||
row := queryRow(stmt)
|
||||
row.Scan(&ret)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue