mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Use AfterLoad instead of AfterSet on Structs (#2628)
* use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/go-xorm/xorm/session_find.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/go-xorm/xorm/session_find.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -239,7 +239,12 @@ func (session *Session) noCacheFind(table *core.Table, containerValue reflect.Va | ||||
| 		if err != nil { | ||||
| 			return err | ||||
| 		} | ||||
| 		return session.rows2Beans(rows, fields, len(fields), tb, newElemFunc, containerValueSetFunc) | ||||
| 		err = session.rows2Beans(rows, fields, tb, newElemFunc, containerValueSetFunc) | ||||
| 		rows.Close() | ||||
| 		if err != nil { | ||||
| 			return err | ||||
| 		} | ||||
| 		return session.executeProcessors() | ||||
| 	} | ||||
|  | ||||
| 	for rows.Next() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user