product_controller

package
v0.0.0-...-52e64fa Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductController

type ProductController struct {
	ConnectionString string
	DBName           string
	CollectionName   string
}

func NewProductController

func NewProductController(con string, DBName string, CollectionName string) ProductController

func (ProductController) Connect

func (p ProductController) Connect(c echo.Context) error

func (ProductController) Create

func (pc ProductController) Create(c echo.Context) error

func (ProductController) CreatePromotion

func (pc ProductController) CreatePromotion(c echo.Context) error

func (ProductController) FindOne

func (pc ProductController) FindOne(c echo.Context) error

Jump to

Keyboard shortcuts

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