Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectionCompanies ¶
func CollectionCompanies(ctx context.Context) (*mongo.Collection, error)
Types ¶
type Company ¶
type Company struct { ID primitive.ObjectID `bson:"_id" json:"id"` Key string `bson:"key" json:"key"` Name string `bson:"name" json:"name"` Address1 string `bson:"address1" json:"address1"` Address2 string `bson:"address2" json:"address2"` Postcode string `bson:"postcode" json:"postcode"` City string `bson:"city" json:"city"` ContactName string `bson:"contactName" json:"contactName"` ContactEmail string `bson:"contactEmail" json:"contactEmail"` ContactPhone string `bson:"contactPhone" json:"contactPhone"` PartnerStoreKey string `bson:"partnerStoreKey" json:"partnerStoreKey"` }
Click to show internal directories.
Click to hide internal directories.