aboutsummaryrefslogtreecommitdiff
path: root/internal/database/database.go
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2019-11-21 19:34:23 -0500
committerJulie Qiu <julie@golang.org>2020-03-27 16:46:48 -0400
commit723f3612d1f5a8957fc5210e20f47dbd372e1bb6 (patch)
tree9f77b5b29ba1ef7f0bde0f33c5fd462d0badf1b7 /internal/database/database.go
parent78700411eaef35e79a588d7a7e8b5de08b80486c (diff)
downloadgo-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