Documentation ¶ Index ¶ func Connect(ctx context.Context, config *config.Config) *mongo.Client func Product(params *model.QueryParameters) (model.Product, error) func Products(params *model.QueryParameters) ([]model.Product, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Connect ¶ func Connect(ctx context.Context, config *config.Config) *mongo.Client func Product ¶ added in v1.0.5 func Product(params *model.QueryParameters) (model.Product, error) func Products ¶ func Products(params *model.QueryParameters) ([]model.Product, error) Types ¶ This section is empty. Source Files ¶ View all Source files client.go products.go Click to show internal directories. Click to hide internal directories.