x/pkgsite: add GetDocumentation function #41017
As part of the new data model migration (#39629), we need to add a function to fetch documentation for a given path_id.
The function signature will be:
The function will execute the query below:
The text was updated successfully, but these errors were encountered:
GetDirectory is split into several functions. These functions are intended to be exported in future CLs. For golang/go#39629 For golang/go#41017 For golang/go#41018 Change-Id: I78edfc2ab47e9947d8a8a6400460413ce0e64180 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/250540 Run-TryBot: Julie Qiu <email@example.com> TryBot-Result: kokoro <firstname.lastname@example.org> Reviewed-by: Jonathan Amsterdam <email@example.com>