supermarktaanbiedingen

package
v0.0.0-...-fa02406 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbertHeijn

type AlbertHeijn struct{}

func (AlbertHeijn) ID

func (AlbertHeijn) ID() string

func (AlbertHeijn) Name

func (AlbertHeijn) Name() string

func (AlbertHeijn) Products

func (AlbertHeijn) Products(limit int) ([]supermarkts.Product, error)

type Dirk

type Dirk struct{}

func (Dirk) ID

func (Dirk) ID() string

func (Dirk) Name

func (Dirk) Name() string

func (Dirk) Products

func (Dirk) Products(limit int) ([]supermarkts.Product, error)

type Hoogvliet

type Hoogvliet struct{}

func (Hoogvliet) ID

func (Hoogvliet) ID() string

func (Hoogvliet) Name

func (Hoogvliet) Name() string

func (Hoogvliet) Products

func (Hoogvliet) Products(limit int) ([]supermarkts.Product, error)

type Offer

type Offer struct {
	Price       float32
	Supermarket string
}

type Product

type Product struct {
	Name   string
	Brand  string
	Offers []Offer
}

func (Product) GetOffer

func (p Product) GetOffer(id string) (Offer, bool)

Jump to

Keyboard shortcuts

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