golang/go

cmd/go: add go doc -json

Open

#34 293 ouverte le 14 sept. 2019

Voir sur GitHub
 (20 commentaires) (9 réactions) (0 assignés)Go (19 008 forks)batch import
GoCommandNeedsFixProposalProposal-Acceptedhelp wanted

Métriques du dépôt

Stars
 (133 883 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

To build better language support for editors and ide's it could be helpful to have the docs as json.

For example https://golang.org/pkg/strings.json to get the strings package documentation. Or via terminal by a flag like go doc fmt -format json

Then the docs can be used to generate snippets based on the documentation.

Guide contributeur