1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-12 06:00:37 +08:00
This commit is contained in:
源文雨
2024-04-14 23:30:30 +09:00
commit 44fae3a819
10 changed files with 1504 additions and 0 deletions

9
utils.go Normal file
View File

@@ -0,0 +1,9 @@
package terasu
import (
"reflect"
)
func isTypeEqual(obj any, name string) bool {
return reflect.ValueOf(obj).Type().String() == name
}