pgsql

package
v0.0.0-...-16f37a6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DbPG = dbConnection()
)

Functions

func UpdateSettings

func UpdateSettings()

Types

type CollectionRemaining

type CollectionRemaining struct {
	Collection  string  `json:"collection"`
	Uuid        string  `json:"uuid"`
	Code        string  `json:"code"`
	Description string  `json:"description"`
	Length      string  `json:"length"`
	Width       string  `json:"width"`
	Count       float32 `json:"count"`
}

func GetCollectionRemaining

func GetCollectionRemaining(r *http.Request) ([]CollectionRemaining, error)

type DetailRemaining

type DetailRemaining struct {
	CollectionRemaining
	UuidDetails     string  `json:"uuidDetails"`
	CodeDetails     string  `json:"codeDetails"`
	Picture         string  `json:"picture"`
	Form            string  `json:"form"`
	Color           string  `json:"color"`
	Brand           string  `json:"brand"`
	Barcode         string  `json:"barcode"`
	CountBalance    float32 `json:"countBalance"`
	ReservedBalance float32 `json:"reservedBalance"`
}

func GetDetailRemaining

func GetDetailRemaining(r *http.Request) ([]DetailRemaining, error)

type Images

type Images struct {
	LogoURL    string   `json:"logoURL"`
	ImagesURL  []string `json:"imagesURL"`
	Collection string   `json:"collection"`
	Picture    string   `json:"picture"`
	Form       string   `json:"form"`
	Color      string   `json:"color"`
	Brand      string   `json:"brand"`
}

func GetCollectionImage

func GetCollectionImage(r *http.Request) ([]Images, error)

Jump to

Keyboard shortcuts

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