View definition

(*Presentation).NewSnippet

Defined in github.com/golang/tools/godoc/snippet.go

Description

NewSnippet creates a text snippet from a declaration decl containing an identifier id. Parts of the declaration not containing the identifier may be removed for a more compact snippet.

NewSnippet is referenced in 1 repository

github.com/golang/tools