Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions field_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"gorm.io/gen/field"
"gorm.io/gen/internal/generate"
"gorm.io/gen/internal/model"
"gorm.io/gen/internal/parser"
"gorm.io/gorm/schema"
)

Expand All @@ -18,6 +19,12 @@ type ModelOpt = model.Option
// Field exported model.Field
type Field = *model.Field

// CustomMethod exported parser.Method
type CustomMethod = parser.Method

// CustomParam exported parser.Param
type CustomParam = parser.Param

var ns = schema.NamingStrategy{}

var (
Expand Down
Loading