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

Plain Text Interface

Gary Burd edited this page Feb 23, 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' http://godoc.org/?q=sql

Get the documentation for the standard math package:

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