forked from mirror/gorm
remove unused tabler interface
This commit is contained in:
parent
8a2b73723d
commit
c691b33ce5
|
@ -123,11 +123,6 @@ func (scope *Scope) GetModelStruct() *ModelStruct {
|
||||||
return &modelStruct
|
return &modelStruct
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set tablename
|
|
||||||
type tabler interface {
|
|
||||||
TableName() string
|
|
||||||
}
|
|
||||||
|
|
||||||
if tabler, ok := reflect.New(scopeType).Interface().(interface {
|
if tabler, ok := reflect.New(scopeType).Interface().(interface {
|
||||||
TableName() string
|
TableName() string
|
||||||
}); ok {
|
}); ok {
|
||||||
|
|
Loading…
Reference in New Issue