tailscale/types/opt
Joe Tsai 930e6f68f2
types/opt: use switch in Bool.UnmarshalJSON (#9140)
The compiler does indeed perform this optimization.

Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2023-08-29 13:12:49 -07:00
..
bool.go types/opt: use switch in Bool.UnmarshalJSON (#9140) 2023-08-29 13:12:49 -07:00
bool_test.go types/opt: use switch in Bool.UnmarshalJSON (#9140) 2023-08-29 13:12:49 -07:00