Skip to content

Commit

Permalink
chore: add ViewDefiner description
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed May 16, 2024
1 parent 8a83093 commit 6335654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gormschema/gorm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6335654

Please sign in to comment.