go/src/flag
Carl Johnson 785ab2fa65 flag: add BoolFunc; FlagSet.BoolFunc
Fixes #53747

Based on CL 416514

Change-Id: I1ff79c6290b06dfa8672a473045e8fe80c22afcf
GitHub-Last-Rev: 74fba9b309
GitHub-Pull-Request: golang/go#59013
Reviewed-on: https://go-review.googlesource.com/c/go/+/476015
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-03-16 16:44:21 +00:00
..
example_func_test.go flag: add BoolFunc; FlagSet.BoolFunc 2023-03-16 16:44:21 +00:00
example_test.go flag: clarify that the main func at pkg.go.dev is part of a testing suite 2022-10-26 18:59:00 +00:00
example_textvar_test.go flag: add TextVar function 2022-03-10 16:56:17 +00:00
example_value_test.go
export_test.go flag: make tests silent 2022-03-07 09:29:14 +00:00
flag.go flag: add BoolFunc; FlagSet.BoolFunc 2023-03-16 16:44:21 +00:00
flag_test.go flag: add BoolFunc; FlagSet.BoolFunc 2023-03-16 16:44:21 +00:00