api

package
v0.0.0-...-6424a17 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetByBarcode

func GetByBarcode(barcode string, resp http.ResponseWriter, req *http.Request, collection *mongo.Collection) []byte

Types

type PillData

type PillData struct {
	Name              string `json:"name"`
	Barcode           string `json:"barcode"`
	Atc_code          string `json:"atc_code"`
	Atc_name          string `json:"atc_name"`
	Company_name      string `json:"company_name"`
	Prescription_type string `json:"prescription_type"`
	Status            bool   `json:"status"`
}

Jump to

Keyboard shortcuts

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