fetch

package
v0.0.0-...-2cdbd14 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

pacakge fetch は、技術書カタログのHPに対して fetch して Book インスタンスをスライスに詰めて返すロジックを実装する

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Fetch() ([]models.Book, error)
}

type OrEbookFetcher

type OrEbookFetcher struct {
	// contains filtered or unexported fields
}

func NewOrEbookFetcher

func NewOrEbookFetcher() *OrEbookFetcher

func (OrEbookFetcher) Fetch

func (oef OrEbookFetcher) Fetch() ([]models.Book, error)

type OreillyBookFetcher

type OreillyBookFetcher struct {
	// contains filtered or unexported fields
}

func NewOreillyBookFetcher

func NewOreillyBookFetcher() *OreillyBookFetcher

func (OreillyBookFetcher) Fetch

func (oef OreillyBookFetcher) Fetch() ([]models.Book, error)

Jump to

Keyboard shortcuts

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