1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:28:32 -06:00
go/cmd/stringer/testdata
Rob Pike 75d2ffb453 stringer: add a -tags flag that supports build tags
The feature has been requested but, like build tags in general,
only works in a directory, not when files are specified explicitly.
Unlike the build tools, report when the feature is misused like this
to avoid confusion.

Fixes golang/go#9449

Change-Id: I079d363c5eeb5bc647fd2f0f3d88d28d630644d8
Reviewed-on: https://go-review.googlesource.com/121995
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-07-04 00:06:24 +00:00
..
cgo.go tools/cmd/stringer: fake import C. 2014-11-27 15:36:14 +11:00
day.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
gap.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
num.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
number.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
prime.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
tag_main.go stringer: add a -tags flag that supports build tags 2018-07-04 00:06:24 +00:00
tag_tag.go stringer: add a -tags flag that supports build tags 2018-07-04 00:06:24 +00:00
unum2.go cmd/stringer: fix panic caused by integer overflow 2015-06-02 19:44:20 +00:00
unum.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00