domain

package
v0.0.0-...-0c534cb Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	Name      string
	URI       *url.URL
	Price     float64
	Available bool
}

func NewProduct

func NewProduct(name string, uri string, price string, available string) (Product, error)

func (Product) Hash

func (p Product) Hash() uint64

type Products

type Products []Product

Jump to

Keyboard shortcuts

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