1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:55:23 -07:00
go/cmd
Jonathan Amsterdam b2f7fe607d cmd/stringer: type check using export data
Use go/packages to find and type check packages using export data.

In addition to type checking with export data, this should also enable
cmd/stringer to work correctly when using go modules.

jba: took over CL, tweaked package.Config use.

Change-Id: Ie253378b52fbd909f7194dfd09c039aab63dd8f0
Reviewed-on: https://go-review.googlesource.com/c/126535
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-02-04 22:01:59 +00:00
..
benchcmp
bundle cmd/bundle: change the behavior of the -underscore flag 2018-12-01 03:58:26 +00:00
callgraph go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
compilebench cmd/compilebench: fix GOROOT inconsistencies 2018-08-10 00:27:41 +00:00
cover
digraph cmd/digraph: print usage on -h 2018-08-20 20:10:23 +00:00
eg
fiximports all: set GO111MODULE=off for tests that use GOPATHs in testdata. 2018-10-03 17:21:27 +00:00
getgo godoc,cmd/getgo: update download links to dl.google.com 2018-01-25 02:56:30 +00:00
go-contrib-init cmd/go-contrib-init: exit with an error if package install fails 2017-07-17 03:20:55 +00:00
godex x/tools: remove old renaming imports of go/constant as exact 2018-08-10 17:04:37 +00:00
godoc cmd/godoc: add x/xerrors redirect 2019-01-25 23:20:54 +00:00
goimports cmd/goimports: update Emacs install instructions 2018-11-30 05:20:23 +00:00
golsp cmd/gopls: rename "golsp" to "gopls", as in "Go Please" 2019-01-16 23:16:16 +00:00
gomvpkg cmd/gomvpkg: add missing closing double-quote to documentation 2018-05-22 18:16:25 +00:00
gopls internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
gorename cmd/gorename: set GO111MODULE=off in gorename_test 2018-10-08 20:39:09 +00:00
gotype
goyacc cmd/goyacc: put //line annotations on the first column. 2018-09-26 03:27:08 +00:00
guru cmd/guru: remove Go 1.9 handling, since we no longer support 1.8 2019-02-04 19:56:32 +00:00
html2article
present cmd/present: fix CSS when printing slides 2019-01-23 18:36:29 +00:00
splitdwarf splitdwarf: initial working commit 2019-01-09 16:56:30 +00:00
ssadump go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
stress cmd/stress: prefix logs with start date/time 2018-11-27 19:52:27 +00:00
stringer cmd/stringer: type check using export data 2019-02-04 22:01:59 +00:00
toolstash cmd/toolstash: don't try comparing "asm -V=full" output. 2017-11-02 22:54:56 +00:00