lectures: 07-sql
This commit is contained in:
parent
4fa9ba4834
commit
31453a6a83
3 changed files with 4 additions and 4 deletions
4
go.mod
4
go.mod
|
@ -3,9 +3,9 @@ module gitlab.com/slon/shad-go
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ClickHouse/clickhouse-go v1.4.0 // indirect
|
github.com/ClickHouse/clickhouse-go v1.4.0
|
||||||
github.com/DATA-DOG/go-sqlmock v1.4.1
|
github.com/DATA-DOG/go-sqlmock v1.4.1
|
||||||
github.com/go-redis/redis v6.15.7+incompatible // indirect
|
github.com/go-redis/redis v6.15.7+incompatible
|
||||||
github.com/go-resty/resty/v2 v2.1.0
|
github.com/go-resty/resty/v2 v2.1.0
|
||||||
github.com/gofrs/uuid v3.2.0+incompatible
|
github.com/gofrs/uuid v3.2.0+incompatible
|
||||||
github.com/golang/mock v1.4.1
|
github.com/golang/mock v1.4.1
|
||||||
|
|
|
@ -179,7 +179,7 @@ database/sql
|
||||||
|
|
||||||
* Нетипичные драйверы - github.com/DATA-DOG/go-sqlmock
|
* Нетипичные драйверы - github.com/DATA-DOG/go-sqlmock
|
||||||
|
|
||||||
.play sqlmock/sqlmock_test.go /^func TestSelect/,/^}/
|
.play -edit sqlmock/sqlmock_test.go /^func TestSelect/,/^}/
|
||||||
|
|
||||||
* Нетипичные драйверы - github.com/ClickHouse/clickhouse-go
|
* Нетипичные драйверы - github.com/ClickHouse/clickhouse-go
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sqlmock
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
|
|
Loading…
Reference in a new issue