You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/types/opt
Joe Tsai 5883ca72a7
types/opt: fix test to be agnostic to omitzero support (#14401)
The omitzero tag option has been backported to v1 "encoding/json"
from the "encoding/json/v2" prototype and will land in Go1.24.
Until we fully upgrade to Go1.24, adjust the test to be agnostic
to which version of Go someone is using.

Updates tailscale/corp#25406

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
12 months ago
..
bool.go types/opt: add BoolFlag for setting Bool value as a flag 1 year ago
bool_test.go types/opt: add BoolFlag for setting Bool value as a flag 1 year ago
value.go util/syspolicy/setting: make setting.RawItem JSON-marshallable 1 year ago
value_test.go types/opt: fix test to be agnostic to omitzero support (#14401) 12 months ago