Upstream sync

This commit is contained in:
Senad Uka
2018-05-29 17:22:48 +02:00
parent d8737a558b
commit 806e2b1f3b
8 changed files with 348 additions and 174 deletions

View File

@@ -62,4 +62,4 @@ func (c *zipcodeRepo) GetAll() ([]entity.Zipcode, error) {
func (c *zipcodeRepo) GetByParticipatingZipcode(zipcode string) (entity.Zipcode, error) {
return c.parseEntity(c.conn.QueryRow(c.getQuery()+"WHERE a.participating = 1 AND a.zipcode = ?", zipcode))
}
}