diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2021-04-24 22:55:58 -0700 |
|---|---|---|
| committer | Joseph Tsai <joetsai@digital-static.net> | 2022-03-10 16:56:17 +0000 |
| commit | 91daaabd56964d0cffae99825e4696f3f70a3857 (patch) | |
| tree | 4ddd7dee7f7ea755d98d821cc1add1179772fcd6 /src/cmd/compile/internal/noder | |
| parent | 2d026a4ea5b28680c1ed7660f720c4cb028c5b35 (diff) | |
| download | go-91daaabd56964d0cffae99825e4696f3f70a3857.tar.xz | |
flag: add TextVar function
The TextVar function makes it easier to integrate the flag package
with any Go type that implements encoding.Text{Marshaler,Unmarshaler}.
Fixes #45754
Change-Id: Id23c37d59cf8c9699a7943a22ce27a45eb685c0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/313329
Trust: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder')
0 files changed, 0 insertions, 0 deletions
