diff options
| author | Julie Qiu <julie@golang.org> | 2019-11-25 16:15:07 -0500 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-03-27 16:46:48 -0400 |
| commit | d080da43198252cfc9423e5dabbf8ce95bd46a5d (patch) | |
| tree | bf3b34cf856d1a4a51c3a55cf02cf5d718b2676f /internal/testing/sample/sample.go | |
| parent | 059d3353d73874fc53bf86a89d0fe9ad4968a367 (diff) | |
| download | go-x-pkgsite-d080da43198252cfc9423e5dabbf8ce95bd46a5d.tar.xz | |
internal: change Package.DocumentationHTML to string type
Previously Package.DocumentationHTML was a type []byte. This is now
changed to a type string, so that is matches its database type (which is
TEXT).
Updates b/144650806
Change-Id: I87784576e719d8aa666b0a21848a9ea6f10f8cf1
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/600048
Reviewed-by: Robert Findley <rfindley@google.com>
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Diffstat (limited to 'internal/testing/sample/sample.go')
| -rw-r--r-- | internal/testing/sample/sample.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testing/sample/sample.go b/internal/testing/sample/sample.go index a2167dda..9165623c 100644 --- a/internal/testing/sample/sample.go +++ b/internal/testing/sample/sample.go @@ -38,7 +38,7 @@ var ( Licenses = []*license.License{ {Metadata: LicenseMetadata[0], Contents: `Lorem Ipsum`}, } - DocumentationHTML = []byte("This is the documentation HTML") + DocumentationHTML = "This is the documentation HTML" PackageName = "foo" PackagePath = "github.com/valid_module_name/foo" V1Path = "github.com/valid_module_name/foo" |
