fix: 修复基准测试中未使用的 reflect.TypeOf 返回值

This commit is contained in:
hailaz
2025-09-18 11:52:07 +08:00
parent e30fc761bf
commit 12e2408819

View File

@ -26,7 +26,7 @@ var (
func Benchmark_ReflectTypeOf(b *testing.B) {
for i := 0; i < b.N; i++ {
reflect.TypeOf(user).String()
_ = reflect.TypeOf(user).String()
}
}