gotools/cmd/godoc/handlers.go

var pres

var fs

func registerHandlers(pres *godoc.Presentation) {}

func readTemplate(name string) *template.Template {}

func readTemplates(p *godoc.Presentation) {}

type fmtResponse

// fmtHandler takes a Go program in its "body" form value, formats it with
// standard gofmt formatting, and writes a fmtResponse as a JSON object.
func fmtHandler(w http.ResponseWriter, r *http.Request) {}