content

package
v0.0.0-...-b9ec457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Country  string `bson:"country"`
	Division string `bson:"division"`
	City     string `bson:"city"`
	Lane     string `bson:"lane"`
	Pin      string `bson:"pin"`
}

type Product

type Product struct {
	Id          string             `bson:"_id,omitempty"`
	Price       int32              `bson:"price"`
	Name        string             `bson:"name"`
	Description string             `bson:"description"`
	Brand       string             `bson:"brand"`
	Category    string             `bson:"category"`
	Subcategory string             `bson:"subcategory"`
	Address     Address            `bson:"address"`
	Seller      string             `bson:"seller"`
	Status      string             `bson:"status"`
	UploadDate  primitive.DateTime `bson:"uploadDate"`
	Spec        []Spec             `bson:"spec"`
	Photourl    []string           `bson:"photourl"`
	Mfdate      primitive.DateTime `bson:"mfdate"`
	Likes       []string           `bson:"likes"`
}

type Spec

type Spec struct {
	Key   string `bson:"key"`
	Value string `bson:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL