mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-05 08:46:23 -07:00
Remove commented out bcrypt reference, fix whitespace
This commit is contained in:
parent
dc4be48e4f
commit
5680cb0481
1 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,6 @@ import (
|
||||||
"crypto/sha1"
|
"crypto/sha1"
|
||||||
"fmt"
|
"fmt"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
//"golang.org/x/crypto/bcrypt"
|
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
@ -272,10 +271,10 @@ func printf(v int, format string, a ...interface{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func println(v int, a ...interface{}) {
|
func println(v int, a ...interface{}) {
|
||||||
/*if fmt.Sprintf("%s", a) == "sql: no rows in result set" {
|
/*if fmt.Sprintf("%s", a) == "sql: no rows in result set" {
|
||||||
panic(a)
|
panic(a)
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if config.Verbosity >= v {
|
if config.Verbosity >= v {
|
||||||
fmt.Println(a...)
|
fmt.Println(a...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue