diff options
| author | Jonathan Amsterdam <jba@google.com> | 2019-11-21 19:34:23 -0500 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-03-27 16:46:48 -0400 |
| commit | 723f3612d1f5a8957fc5210e20f47dbd372e1bb6 (patch) | |
| tree | 9f77b5b29ba1ef7f0bde0f33c5fd462d0badf1b7 /internal/database/database.go | |
| parent | 78700411eaef35e79a588d7a7e8b5de08b80486c (diff) | |
| download | go-x-pkgsite-723f3612d1f5a8957fc5210e20f47dbd372e1bb6.tar.xz | |
internal/postgres: replace Open with New(db)
The constructor for a postgres.DB takes a *database.DB
instead of a driver and connection string.
Change-Id: Ief58ce676946fd34cbcafc2b634a772663b6f932
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/604403
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Diffstat (limited to 'internal/database/database.go')
0 files changed, 0 insertions, 0 deletions
