package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev

# Packages

Package codec implements the general-purpose part of an encoder for Go values.
Package dochtml renders Go package documentation into HTML.

# 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.

# Structs

A File contains everything needed about a source file to render documentation.
A Package contains package-level information needed to render Go documentation.

# Type aliases

No description provided by the author