package models import ( "testing" "git.nobla.cn/golang/aeus-admin/types" ) func TestModel(t *testing.T) { var m any m = &User{} if _, ok := m.(types.Model); ok { t.Log("ok") } else { t.Error("error") } }