package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev
# Functions
DecodePackage decodes a byte slice encoded with Package.Encode into a Package.
NewPackage returns a new Package with the given fset and set of module package paths.
RenderFromUnit is a convenience function that first decodes the source in the unit, which must exist, and then calls Render.
# Constants
Exported for tests.
# Variables
ErrInvalidEncodingType is returned when the data to DecodePackage has an invalid encoding type.
No description provided by the author
MaxDocumentationHTML is a limit on the rendered documentation HTML size.
Used by the gen program to generate encodings for unexported types.
# Type aliases
No description provided by the author