From 63356544c24d60f193037c7e999a45f4cbca0f58 Mon Sep 17 00:00:00 2001 From: Luan Tran Date: Thu, 16 May 2024 23:08:13 +0700 Subject: [PATCH] chore: add ViewDefiner description --- gormschema/gorm.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gormschema/gorm.go b/gormschema/gorm.go index 74fd47d..dc9ac33 100644 --- a/gormschema/gorm.go +++ b/gormschema/gorm.go @@ -234,7 +234,8 @@ func indirect(t reflect.Type) reflect.Type { type ( // ViewOption configures a viewBuilder. - ViewOption func(*viewBuilder) + ViewOption func(*viewBuilder) + // ViewDefiner defines a view. ViewDefiner interface { ViewDef(driver string) []ViewOption }