aboutsummaryrefslogtreecommitdiff
path: root/internal/database
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2020-04-21 16:51:29 -0400
committerJulie Qiu <julieqiu@google.com>2020-04-23 16:18:43 +0000
commit19794c8aeb90c0a8f17c5ee1ed187bd005a1fd40 (patch)
tree6552b4c49b886aff9633fa4a304149f11768403a /internal/database
parent5599c558a14efd44b957ef0da0f49333c13bced5 (diff)
downloadgo-x-pkgsite-19794c8aeb90c0a8f17c5ee1ed187bd005a1fd40.tar.xz
all: rename module to golang.org/x/pkgsite
golang.org/x/discovery is renamed to golang.org/x/pkgsite. When the repository is open sourced, it will be hosted at go.googlesource.com/pkgsite. Change-Id: Ifc3b45b771a385b99179e785447f2a87afcacf87 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/724273 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/database')
-rw-r--r--internal/database/database.go6
-rw-r--r--internal/database/database_test.go2
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/database/database.go b/internal/database/database.go
index 3aefd19f..9a27ebce 100644
--- a/internal/database/database.go
+++ b/internal/database/database.go
@@ -19,9 +19,9 @@ import (
"unicode"
"github.com/lib/pq"
- "golang.org/x/discovery/internal/config"
- "golang.org/x/discovery/internal/derrors"
- "golang.org/x/discovery/internal/log"
+ "golang.org/x/pkgsite/internal/config"
+ "golang.org/x/pkgsite/internal/derrors"
+ "golang.org/x/pkgsite/internal/log"
)
// DB wraps a sql.DB. The methods it exports correspond closely to those of
diff --git a/internal/database/database_test.go b/internal/database/database_test.go
index 789983de..589acf17 100644
--- a/internal/database/database_test.go
+++ b/internal/database/database_test.go
@@ -16,7 +16,7 @@ import (
"time"
"github.com/google/go-cmp/cmp"
- "golang.org/x/discovery/internal/testing/dbtest"
+ "golang.org/x/pkgsite/internal/testing/dbtest"
)
const testTimeout = 5 * time.Second