mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
3d26f6847a
The BuilderModeFlag function does not work with flag packages (such as Google's) that define their own FlagSet. This change exposes a type that satisifies flag.Value insted of a function. That type is *BuilderMode; there's no need for a separate wrapper type. Change-Id: I8095b80de499e3c52a29a5c1996d1b1fe3799358 Reviewed-on: https://go-review.googlesource.com/20330 Reviewed-by: Michael Matloob <matloob@golang.org> |
||
---|---|---|
.. | ||
main14.go | ||
main.go |