From c691b33ce502b51468f1d8a520a6e6dd8f7f8b61 Mon Sep 17 00:00:00 2001 From: Nikola Kovacs Date: Thu, 1 Oct 2015 10:25:02 +0200 Subject: [PATCH] remove unused tabler interface --- model_struct.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/model_struct.go b/model_struct.go index 6a9a37ec..bd766b85 100644 --- a/model_struct.go +++ b/model_struct.go @@ -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 {