slabfinder

package module
v0.0.0-...-8e9e685 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

slabfinder

A tool for finding the right kitchen countertop

Documentation

Index

Constants

View Source
const (
	UnknownVendor Vendor = 0
	StoneBasyx    Vendor = 1
	Cosmos        Vendor = 2

	UnknownFinish Finish = 0
	Polished      Finish = 1
	Leather       Finish = 2
	Honed         Finish = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Finish

type Finish int

func (Finish) String

func (f Finish) String() string

type Slab

type Slab struct {
	// TODO: add Material, if its ever other than Granite
	Price     int // in pennies
	Color     string
	Finish    Finish
	Thickness float64 // in CM
	Lot       string
	Bundle    string
	Width     float64 // inches
	Length    float64 // inches
	Count     int     // how many slabs are in this set
	Vendor    Vendor  // who has this slab for sale
	URL       string  // the detail page for the slab
	Photo     string  // the URL to a photo of the slab
	FirstSeen time.Time
	LastSeen  time.Time
}

Slab describese one slab, which is in stock

func (*Slab) ID

func (s *Slab) ID() uint64

func (*Slab) String

func (s *Slab) String() string

type Vendor

type Vendor int

func (Vendor) String

func (v Vendor) String() string

Directories

Path Synopsis
cmd
fetcher
ohm

Jump to

Keyboard shortcuts

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