Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LiquorItem ¶
LiquorItem represents a found liquor item with only the information we care about
type ProductInfo ¶
type ProductInfo struct { ItemCode string Name string BottlePrice string CasePrice string Size string Proof string Category string }
ProductInfo represents all the possible information about a liquor item including the information we don't really care about
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
Searcher provides functionality to search for liquor items
func NewSearcher ¶
NewSearcher creates a new searcher with cookie support
func (*Searcher) AgeVerification ¶
AgeVerification performs the age verification
func (*Searcher) SearchItem ¶
func (s *Searcher) SearchItem(ctx context.Context, item string, zipcode string, distance int) ([]LiquorItem, error)
SearchItem searches for a specific liquor item by name or code
Click to show internal directories.
Click to hide internal directories.