Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyConfig ¶
func VerifyConfig(config require.PathInterfaceGetter) []error
Types ¶
type ErrorHandler ¶
type ErrorHandler interface {
Error(e error)
}
type GormReadWrite ¶
type GormReadWrite struct {
// contains filtered or unexported fields
}
func NewGormReadWrite ¶
func NewGormReadWrite(config Config, logger Logger, errorHandler ErrorHandler, cbStyleNaming bool) (*GormReadWrite, error)
func (*GormReadWrite) Read ¶
func (g *GormReadWrite) Read() *gorm.DB
func (*GormReadWrite) Write ¶
func (g *GormReadWrite) Write() *gorm.DB
type PathInterfaceGetter ¶
type PathInterfaceGetter interface {
Get(path string) interface{}
}
Click to show internal directories.
Click to hide internal directories.