Merge pull request #676 from nkovacs/unused-interface

remove unused tabler interface
This commit is contained in:
Jinzhu 2015-10-01 22:16:33 +08:00
commit ede940e82d
1 changed files with 0 additions and 5 deletions

View File

@ -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 {