Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Company ¶
type Company struct { ID primitive.ObjectID `bson:"_id,omitempty"` CategoryID primitive.ObjectID `bson:"c,omitempty"` TechnologyIDs []primitive.ObjectID `bson:"ti,omitempty"` DNSIDs []primitive.ObjectID `bson:"dn,omitempty"` URL string `bson:"u,omitempty"` Slug string `bson:"s,omitempty"` Title string `bson:"t,omitempty"` Email string `bson:"e,omitempty"` Description string `bson:"d,omitempty"` Phone int `bson:"p,omitempty"` INN int `bson:"i,omitempty"` KPP int `bson:"k,omitempty"` OGRN int `bson:"og,omitempty"` Domain *domain `bson:"do,omitempty"` Avatar Link `bson:"a,omitempty"` Location *location `bson:"l,omitempty"` App *app `bson:"ap,omitempty"` Social *social `bson:"so,omitempty"` People []*peopleItem `bson:"pe,omitempty"` UpdatedAt time.Time `bson:"ua,omitempty"` PageSpeed uint32 `bson:"ps,omitempty"` // milliseconds Verified bool `bson:"v,omitempty"` Premium bool `bson:"pr,omitempty"` PremiumDeadline time.Time `bson:"pd,omitempty"` Hash string `bson:"has,omitempty"` Online bool `bson:"o,omitempty"` Hidden bool `bson:"h,omitempty"` }
func (*Company) UpdateOrCreate ¶
Click to show internal directories.
Click to hide internal directories.