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
Nick Khyl bd54b61746 types/opt: add (Value[T]).GetOr(def T) T method
Updates #12736

Signed-off-by: Nick Khyl <nickk@tailscale.com>
4 months ago
..
bool.go ipn: apply tailnet-wide default for auto-updates (#10508) 11 months ago
bool_test.go types/opt: use switch in Bool.UnmarshalJSON (#9140) 1 year ago
value.go types/opt: add (Value[T]).GetOr(def T) T method 4 months ago
value_test.go types/opt: add generic Value[T any] for optional values of any types 4 months ago