Some checks failed
check / check (push) Failing after 2m36s
Update go.mod module directive, all Go import paths, and JSON schema $id URIs to use the new sneak.berlin/go/neoirc module path.
15 lines
199 B
Go
15 lines
199 B
Go
package db_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"golang.org/x/crypto/bcrypt"
|
|
"sneak.berlin/go/neoirc/internal/db"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
db.SetBcryptCost(bcrypt.MinCost)
|
|
os.Exit(m.Run())
|
|
}
|