diff --git a/engine/engine.go b/engine/engine.go index 9b072bb..da1299b 100644 --- a/engine/engine.go +++ b/engine/engine.go @@ -203,6 +203,6 @@ func (this *Engine[T]) Execute(data T) error { return nil } -func New[T any](table string, g contracts.GlobalParams, relations ...string) *Engine[T] { - return &Engine[T]{code: table, g: g, relations: relations} +func New[T any](table string, relations ...string) *Engine[T] { + return &Engine[T]{code: table, relations: relations} }