Skip to content

Commit f3fa397

Browse files
committed
Added workspaces so that go root is present for packages, queried all data rows using Query and extracted data using CollectRows
1 parent 449becf commit f3fa397

File tree

5 files changed

+51
-206
lines changed

5 files changed

+51
-206
lines changed

connect_with_a_database/go.mod

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
module github.com/anarchymonkey/learn_golang/connect_with_a_database
1+
module github.com/anarchymonkey/learn_golang/connect-with-a-database
22

33
go 1.20
44

55
require (
6-
github.com/jackc/pgx/v4 v4.18.1
6+
github.com/georgysavva/scany/v2 v2.0.0
77
github.com/jackc/pgx/v5 v5.3.1
88
)
99

1010
require (
11-
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
12-
github.com/jackc/pgconn v1.14.0 // indirect
13-
github.com/jackc/pgio v1.0.0 // indirect
1411
github.com/jackc/pgpassfile v1.0.0 // indirect
15-
github.com/jackc/pgproto3/v2 v2.3.2 // indirect
1612
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
17-
github.com/jackc/pgtype v1.14.0 // indirect
13+
github.com/jackc/puddle/v2 v2.2.0 // indirect
1814
golang.org/x/crypto v0.6.0 // indirect
15+
golang.org/x/sync v0.1.0 // indirect
1916
golang.org/x/text v0.7.0 // indirect
2017
)

0 commit comments

Comments
 (0)