mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 09:32:08 +00:00
all: use any instead of interface{}
My favorite part of generics. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
committed by
Josh Bleecher Snyder
parent
5f176f24db
commit
0868329936
@@ -432,7 +432,7 @@ func TestLoggingPrivacy(t *testing.T) {
|
||||
logged bool
|
||||
testLogger logger.Logf
|
||||
)
|
||||
logf := func(format string, args ...interface{}) {
|
||||
logf := func(format string, args ...any) {
|
||||
testLogger(format, args...)
|
||||
logged = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user