core/dbcommon/enum_test.go
Function RunEnumExample
has 5 return statements (exceeds 4 allowed). Open
Open
func RunEnumExample(ctx context.Context, dbDir string) (res []InventoryModel, err error) {
gdb, err := gorm.Open(sqlite.Open(dbDir), &gorm.Config{
Logger: dbcommon.GetGormLogger(testDBLogger),
})
if err != nil {