You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/fetch: report DocTooLarge error in goPackage.err
loadPackage has two return values: a *goPackage and an error.
Before this CL, if a package's documentation was too large,
loadPackage would return the package and a non-nil error.
With this CL, that error is stored in the goPackage struct in a new
field, and loadPackage returns a nil error.
Aside from being more idiomatic, this change will enable future
changes needed to support multiple GOOS/GOARCH combinations.
For golang/go#37232
Change-Id: If73adde76239046eb22409659d6795c09bbb1fd4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/279457
Trust: Jonathan Amsterdam <[email protected]>
Run-TryBot: Jonathan Amsterdam <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Julie Qiu <[email protected]>
0 commit comments