structs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(i int) *int

func String

func String(s string) *string

Types

type Aliexpress

type Aliexpress struct {
	Id            int64
	PurchaseDate  string
	ItemName      string
	Price         int
	SinglePrice   int
	ImgUrl        string
	ImgFile       string
	ImgHash       string
	Anzahl        int
	Vendor        string
	Bestellnummer int64
	ItemOption    string
	Currency      string
}

type Alternate

type Alternate struct {
	Id           int64
	PurchaseDate string `json:"purchaseDate"`
	ItemName     string `json:"itemName"`
	Price        int    `json:"price"`
	ImgUrl       string `json:"imgUrl"`
	ImgFile      string
	ImgHash      string
	Anzahl       int `json:"anzahl"`
}

type Ebay

type Ebay struct {
	Id             *int64  `json:"id,omitempty"`
	PurchaseDate   *string `json:"purchaseDate,omitempty"`
	ItemName       *string `json:"itemName,omitempty"`
	VendorPlatform *string
	Price          *int        `json:"price,omitempty"`
	Currency       *string     `json:"currency,omitempty"`
	ImgUrl         *string     `json:"imgUrl,omitempty"`
	ImgFile        *string     `json:"imgFile,omitempty"`
	ImgHash        *string     `json:"imgHash,omitempty"`
	EbaySpecial    EbaySpecial `json:"ebaySpecial,omitempty"`
}

type EbaySpecial

type EbaySpecial struct {
	//special ebay variables:
	Haendler      *string `json:"Haendler,omitempty"`
	Artikelnummer *int    `json:"Artikelnummer,omitempty"`
	ImgHash       *string `json:"imgHash,omitempty"`
}

type GenericItem

type GenericItem struct {
	Name         string
	Vendor       string
	Price        *int `json:"Price,omitempty"`
	PurchaseDate string
	Currency     string
	ImgFile      string
}

Jump to

Keyboard shortcuts

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