tailscale/types/prefs
Joe Tsai 3d28aa19cb
all: statically enforce json/v2 interface satisfaction (#15154)
The json/v2 prototype is still in flux and the API can/will change.

Statically enforce that types implementing the v2 methods
satisfy the correct interface so that changes to the signature
can be statically detected by the compiler.

Updates tailscale/corp#791

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2025-02-27 12:33:31 -08:00
..
prefs_example all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
item.go go.mod: bump github.com/go-json-experiment/json (#15010) 2025-02-27 11:35:54 -08:00
list.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
map.go go.mod: bump github.com/go-json-experiment/json (#15010) 2025-02-27 11:35:54 -08:00
options.go
prefs_clone_test.go
prefs_test.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
prefs_view_test.go cmd/viewer,all: consistently use "read-only" instead of "readonly" 2025-01-14 08:26:56 -08:00
prefs.go all: statically enforce json/v2 interface satisfaction (#15154) 2025-02-27 12:33:31 -08:00
struct_list.go go.mod: bump github.com/go-json-experiment/json (#15010) 2025-02-27 11:35:54 -08:00
struct_map.go go.mod: bump github.com/go-json-experiment/json (#15010) 2025-02-27 11:35:54 -08:00