1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:44:47 -07:00
go/godoc/static
Brad Fitzpatrick 2a413a02cc godoc/static: let client use vet check returned by /compile endpoint
(Forked off Yury Smolsky's CL 176618)

With this change, the playground.js client now asks the server to do a
vet check in the same HTTP request as the /compile (and run) step. If
the server replies that it understands the request (VetErrors or VetOK
in the repsonse), then the client can avoid the latency of a second
HTTP roundtrip. We'll remove the /vet handler after we see it fall out
of use from older clients.

Updates golang/go#31970

Change-Id: I5b123883e19cbc6a8ec30c50705e6b945a4d322d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/176939
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-05-13 21:41:31 +00:00
..
analysis
images
callgraph.html
codewalk.html
codewalkdir.html
dirlist.html
doc.go
error.html
example.html
gen_test.go
gen.go
godoc.html
godocs.js
implements.html
jquery.js
jquery.treeview.css
jquery.treeview.edit.js
jquery.treeview.js
makestatic.go
methodset.html
opensearch.xml
package.html
packageroot.html
play.js
playground.js godoc/static: let client use vet check returned by /compile endpoint 2019-05-13 21:41:31 +00:00
search.html
searchcode.html
searchdoc.html
searchtxt.html
static.go godoc/static: let client use vet check returned by /compile endpoint 2019-05-13 21:41:31 +00:00
style.css