1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/oracle/testdata/src
Daniel Morsing 25f58f97ce x/tools/oracle: add whicherrs query mode
The whicherrs query mode takes the position of an error and returns the set of constants, globals and types visible from within the scope of the error being queried.
It is meant to be used as a shortcut to find out which errors should be handled for a given functions call.

LGTM=adonovan
R=golang-codereviews, dominik.honnef, adonovan
CC=golang-codereviews
https://golang.org/cl/167420043
2014-12-05 15:51:34 +00:00
..
lib go.tools/oracle: an oracle that answers questions about Go source code. 2013-08-27 17:58:26 -04:00
main x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00