mirror of https://github.com/go-gorm/gorm.git
Merge pull request #676 from nkovacs/unused-interface
remove unused tabler interface
This commit is contained in:
commit
ede940e82d
|
@ -123,11 +123,6 @@ func (scope *Scope) GetModelStruct() *ModelStruct {
|
|||
return &modelStruct
|
||||
}
|
||||
|
||||
// Set tablename
|
||||
type tabler interface {
|
||||
TableName() string
|
||||
}
|
||||
|
||||
if tabler, ok := reflect.New(scopeType).Interface().(interface {
|
||||
TableName() string
|
||||
}); ok {
|
||||
|
|
Loading…
Reference in New Issue