Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader is the struct that holds the loader configuration.
type Option ¶
type Option func(*Loader)
Option is a function that configures the Loader.
func WithBuildTags ¶
WithBuildTags sets the build tags to use when loading packages.
func WithJoinTable
deprecated
WithJoinTable registers the given models as join tables.
Deprecated: Join tables are now auto-detected based on struct tags. Models with rel:belongs-to (but no m2m) are automatically registered first. This option is kept for backward compatibility but is no longer required.
func WithStmtDelimiter ¶
WithStmtDelimiter sets the delimiter for the output. The default delimiter is `;`. This is helpful for SQL Server, which uses the GO keyword as a delimiter.
Click to show internal directories.
Click to hide internal directories.