package pkgsite
import "cloud.google.com/go/third_party/pkgsite"
Package pkgsite is not for external use. May change at any time without warning.
Copied from https://github.com/golang/pkgsite/blob/ff1e697b104e751da362159cf6c7743898eea3fe/internal/fetch/dochtml/internal/render/ and https://github.com/golang/pkgsite/tree/88f8a28ab2102416529d05d11e8135a43e146d46/internal/fetch/dochtml.
Index ¶
- func PrintType(fset *token.FileSet, decl ast.Decl) string
- func Synopsis(fset *token.FileSet, n ast.Node, linkify func(string) string) string
Functions ¶
func PrintType ¶
PrintType returns a string representation of the decl.
func Synopsis ¶
Synopsis returns a one-line summary of the given input node.
Source Files ¶
print_type.go synopsis.go
- Version
- v0.76.0
- Published
- Feb 2, 2021
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 1 hour ago –
Tools for package owners.