1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-30 09:09:00 +02:00

added new lines for readability and consistency

This commit is contained in:
Gani Georgiev
2022-07-14 20:01:53 +03:00
parent a16b0c9004
commit dbbfa243bc
3 changed files with 4 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ func NewRecordFromNullStringMap(collection *Collection, data dbx.NullStringMap)
// each row in the provided NullStringMap slice.
func NewRecordsFromNullStringMaps(collection *Collection, rows []dbx.NullStringMap) []*Record {
result := make([]*Record, len(rows))
for i, row := range rows {
result[i] = NewRecordFromNullStringMap(collection, row)
}