retriever

package
v0.0.0-...-30df891 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection []string

Collection holds all parsed links from supplied URL

func Retrieve

func Retrieve(url string, newDoc DocumentBuilder) (Collection, error)

Retrieve function parses provided URL for product links

type DocumentBuilder

type DocumentBuilder func(url string) (*goquery.Document, error)

DocumentBuilder is a type abstraction over our injected dependency

Jump to

Keyboard shortcuts

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