mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-05 16:26:50 +08:00
Code refactoring (change interface to any)
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func assert(t *testing.T, one, two interface{}) {
|
||||
func assert(t *testing.T, one, two any) {
|
||||
if one != two {
|
||||
t.FailNow()
|
||||
}
|
||||
|
Reference in New Issue
Block a user