// NewMemDB returns a DB implementation that stores all data in-memory. The initial database
// is empty, and is best used for testing.
NewMemDB returns a DB implementation that stores all data in-memory. The initial database
is empty, and is best used for testing.
// NewMemDB returns a DB implementation that stores all data in - memory . The initial database // is empty and is best used for testing .
func NewMemDB() (*gorm.DB, error) {
	db, err := gorm.Open(sqlite3Str, memStr)
	if err != nil {
		return nil, err
	}
	return db, nil
}
func NewMemDB ( ) ( * gorm . DB , error ) { db , err := gorm . Open ( sqlite3Str , memStr ) if err != nil { return nil , err } return db , nil }
NewMemDB returns a DB implementation that stores all data in-memory.
NewMemDB returns a DB implementation that stores all data in - memory .