func (s *Specials) AsMap() SpecialsMap { m := make(SpecialsMap) for _, row := range s.rows { id := utils.GetString(row, ID_OFERTY) val := utils.GetString(row, ID_WYROZNIENIA) if arr, ok := m[id]; ok { arr = append(arr, val) m[id] = arr } else { m[id] = []string{val} } } return m }
func (a *Additional) StringAt(id utils.ColId) string { val := utils.GetString(a.Row, id) if val == "0" { return "" } else { return val } }
func (p *Person) DecodeStringAt(id utils.ColId) string { return utils.DecodeStr(utils.GetString(p.row, id)) }
func (p *Person) StringAt(id utils.ColId) string { return utils.GetString(p.row, id) }
func (o *Offer) StringAt(id utils.ColId) string { return utils.GetString(o.row, id) }