diff options
| author | Julie Qiu <julie@golang.org> | 2020-06-09 12:41:07 -0400 |
|---|---|---|
| committer | Julie Qiu <julieqiu@google.com> | 2020-06-09 21:15:16 +0000 |
| commit | 5f3d28792fdeabf75b026a258b05935d1bfb8417 (patch) | |
| tree | a1b47742bc1a4177a84d78f6f0fb38be7b42bc46 /internal/postgres/path_test.go | |
| parent | b663f47268034db631fec0c41fe1bd7864b8edf6 (diff) | |
| download | go-x-pkgsite-5f3d28792fdeabf75b026a258b05935d1bfb8417.tar.xz | |
internal: rename ModuleInfo to LegacyModuleInfo
ModuleInfo is renamed to LegacyModuleInfo, as a step towards
deprecating LegacyReadmeFilePath and LegacyReadmeContents.
In a follow up CL, we will add ModuleInfo as an embedded struct
to LegacyModuleInfo.
Change-Id: Ie452420448eec1d13edaf62e548df0b9e2cbbe4b
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/766479
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/path_test.go')
| -rw-r--r-- | internal/postgres/path_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/path_test.go b/internal/postgres/path_test.go index 485ba6db..c7a19416 100644 --- a/internal/postgres/path_test.go +++ b/internal/postgres/path_test.go @@ -44,7 +44,7 @@ func TestGetPathInfo(t *testing.T) { pkgName := path.Base(testModule.packageSuffix) pkgPath := path.Join(testModule.module, testModule.packageSuffix) m := &internal.Module{ - ModuleInfo: internal.ModuleInfo{ + LegacyModuleInfo: internal.LegacyModuleInfo{ ModulePath: testModule.module, Version: testModule.version, VersionType: vtype, |
