func (f *Files) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanf := &File{}
		if err := scanf.FromRows(rows); err != nil {
			return err
		}
		*f = append(*f, scanf)
	}
	return nil
}
// FromRows scans the sql response data into Files.
FromRows scans the sql response data into Files.
// FromRows scans the sql response data into Files .
func (f *Files) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanf := &File{}
		if err := scanf.FromRows(rows); err != nil {
			return err
		}
		*f = append(*f, scanf)
	}
	return nil
}
func ( f * Files ) FromRows ( rows * sql . Rows ) error { for rows . Next ( ) { scanf := & File { } if err := scanf . FromRows ( rows ) ; err != nil { return err } * f = append ( * f , scanf ) } return nil }
FromRows scans the sql response data into Files.
FromRows scans the sql response data into Files .