]> Cypherpunks.ru repositories - gostls13.git/commit
flag: add BoolFunc; FlagSet.BoolFunc
authorCarl Johnson <me@carlmjohnson.net>
Tue, 14 Mar 2023 13:06:20 +0000 (13:06 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 16 Mar 2023 16:44:21 +0000 (16:44 +0000)
commit785ab2fa65bec7fc8d244277c8962009d3a83271
tree1191842f67eb6c75da6a47c6cc3141d9af4927a8
parentf03fb147d773f3e0cee437e02ac2de5ce1d5e981
flag: add BoolFunc; FlagSet.BoolFunc

Fixes #53747

Based on CL 416514

Change-Id: I1ff79c6290b06dfa8672a473045e8fe80c22afcf
GitHub-Last-Rev: 74fba9b3096487c04c8dc1f2237f67f3558212f1
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>
api/next/53747.txt [new file with mode: 0644]
src/flag/example_func_test.go
src/flag/flag.go
src/flag/flag_test.go