data

package
v0.0.0-...-f8c425d Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BrandList brandDB
View Source
var ProductList gearDB

Functions

func Brandgen

func Brandgen()

func GenCreds

func GenCreds()

func Generator

func Generator()

func Productgen

func Productgen()

Types

type Brands

type Brands struct {
	BrandId      int    `json:"brand_id"`
	BrandName    string `json:"brand_name"`
	BrandProduct []int  `json:"brand_product"`
}

type Credentials

type Credentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type CredsDB

type CredsDB map[string]string
var CredList CredsDB

type Products

type Products struct {
	ProductId     int    `json:"product_id"`
	ProductName   string `json:"product_name"`
	ProductBrand  Brands `json:"product_brand"`
	ProductPrice  int    `json:"product_price"`
	ProductStatus bool   `json:"product_status"`
}

Jump to

Keyboard shortcuts

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