1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-05 01:00:23 +08:00
Files
terasu/utils.go
源文雨 44fae3a819 init
2024-04-14 23:30:30 +09:00

10 lines
140 B
Go

package terasu
import (
"reflect"
)
func isTypeEqual(obj any, name string) bool {
return reflect.ValueOf(obj).Type().String() == name
}