aboutsummaryrefslogtreecommitdiff
path: root/internal/database/database.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2019-12-19 00:58:17 -0500
committerJulie Qiu <julie@golang.org>2020-03-27 16:46:50 -0400
commit4f918777601cb0e1fbbf1a4740440088063ed2f3 (patch)
tree3e02a632ecf83c66908705473209d021abdbb562 /internal/database/database.go
parent53f524e74d24b0c46893e74ad13eaa25758036d0 (diff)
downloadgo-x-pkgsite-4f918777601cb0e1fbbf1a4740440088063ed2f3.tar.xz
internal: create ExperimentSource interface
The ExperimentSource interface is created, which has the method GetActiveExperiments. It is used to fetch data from either the proxydatasource or postgresDB for use in the experiments middleware. Updates b/146052411 Change-Id: I8f86230178deecc654168e37bdf0422f20c1932c Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/620221 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/database/database.go')
0 files changed, 0 insertions, 0 deletions