]> Cypherpunks repositories - gostls13.git/commit
go/types: move gotype command into this directory
authorRobert Griesemer <gri@golang.org>
Tue, 29 Sep 2015 22:34:29 +0000 (15:34 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 29 Sep 2015 23:31:57 +0000 (23:31 +0000)
commit7e1d1f899cbfb302447324e96da0e913ef94096c
treedcd783a7414fdf9c6e8f134377b0339666157e38
parentbb6be3ab88ebd27afacb79f2ddd731f697a8816e
go/types: move gotype command into this directory

This is a copy of x/tools/cmd/gotype/gotype.go with the corresponding
x/tools/cmd/gotype/doc.go prepended and including a build tag (ignore).

This way, go/types can be built unaffected. If we need the gotype command,
it is trivially built in the go/types directory with: go build gotype.go .

Fixes #12303.

Change-Id: I2d792fcb39719cc5cc300f657e4735901cd20faa
Reviewed-on: https://go-review.googlesource.com/15152
Reviewed-by: Rob Pike <r@golang.org>
src/go/types/gotype.go [new file with mode: 0644]