Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Plain Text Interface

Nodir Turakulov edited this page Oct 10, 2015 · 2 revisions

GoDoc provides plain text output for integration with shell scripts. Use the HTTP Accept header to request a plain text response.

Search for packages with the term 'sql':

$ curl -H 'Accept: text/plain' https://godoc.org/?q=sql

Get the documentation for the standard math package:

$ curl -H 'Accept: text/plain' https://godoc.org/math
Clone this wiki locally