DEBUG
This commit is contained in:
		@@ -783,11 +783,14 @@ func NewSchema(config Config) (graphql.Schema, error) {
 | 
				
			|||||||
							return nil, err
 | 
												return nil, err
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						fmt.Println(color, r, g, b)
 | 
											fmt.Println(color, r, g, b)
 | 
				
			||||||
						query = query.Where(goqu.Ex{
 | 
											query = query.Where(goqu.And(
 | 
				
			||||||
							fmt.Sprintf("web_images.color_%d_r", index): goqu.Op{"gt": r - 5, "lt": r + 5},
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_r", index)).Gt(r-10),
 | 
				
			||||||
							fmt.Sprintf("web_images.color_%d_g", index): goqu.Op{"gt": g - 5, "lt": g + 5},
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_r", index)).Lt(r+10),
 | 
				
			||||||
							fmt.Sprintf("web_images.color_%d_b", index): goqu.Op{"gt": b - 5, "lt": b + 5},
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_g", index)).Gt(g-10),
 | 
				
			||||||
						})
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_g", index)).Lt(g+10),
 | 
				
			||||||
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_b", index)).Gt(b-10),
 | 
				
			||||||
 | 
												goqu.L(fmt.Sprintf("web_images.color_%d_b", index)).Lt(b+10),
 | 
				
			||||||
 | 
											))
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user