Versions in this module Expand all Collapse all v1 v1.19.25 Nov 8, 2023 v1.19.24 Jan 2, 2023 v1.19.23 Apr 13, 2022 v1.19.22 Nov 13, 2021 v1.19.21 Jul 17, 2021 v1.19.20 Jul 17, 2021 Changes in this version + func SetAvatar(ctx context.Context, companyID primitive.ObjectID, newAvatar Link) error + func SetTechIDs(ctx context.Context, companyID primitive.ObjectID, ...) error + type Company struct + App *app + Avatar Link + CategoryID primitive.ObjectID + DNSIDs []primitive.ObjectID + Description string + Domain *domain + Email string + Hash string + Hidden bool + ID primitive.ObjectID + INN int + KPP int + Location *location + OGRN int + Online bool + PageSpeed uint32 + People []*peopleItem + Phone int + Premium bool + PremiumDeadline time.Time + Slug string + Social *social + TechnologyIDs []primitive.ObjectID + Title string + URL string + UpdatedAt time.Time + Verified bool + func (c *Company) DigVk(ctx context.Context, vkUrl string) + func (c *Company) GetSocial() *social + func (c *Company) UpdateOrCreate(ctx context.Context, rawURL, registrar string, registrationDate time.Time, ...) + func (c *Company) WithHash() + type Link = string + func GetAvatar(ctx context.Context, companyID primitive.ObjectID) (Link, error)