linting and go version update
This commit is contained in:
@@ -57,6 +57,5 @@ func NewTestDatabase(tb testing.TB) *TestDatabase {
|
||||
}
|
||||
|
||||
func (tdb *TestDatabase) TearDown() {
|
||||
tdb.Db.Close()
|
||||
_ = tdb.container.Terminate(context.Background())
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrNotFound error = errors.New("Todo cannot be found")
|
||||
ErrNotFound error = errors.New("todo cannot be found")
|
||||
)
|
||||
|
||||
type TodoRow struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrNotFound error = errors.New("Todo cannot be found")
|
||||
ErrNotFound error = errors.New("todo cannot be found")
|
||||
)
|
||||
|
||||
type Todo struct {
|
||||
|
||||
Reference in New Issue
Block a user