Versions in this module Expand all Collapse all v0 v0.1.1 Jun 15, 2026 Changes in this version + type Category struct + Name string + Slug string type Client + func (c *Client) ListCategories(ctx context.Context) ([]Category, error) + func (c *Client) ListPosts(ctx context.Context, limit int) ([]Post, int, error) + func (c *Client) ListProducts(ctx context.Context, category string, limit int) ([]Product, int, error) + func (c *Client) ListQuotes(ctx context.Context, limit int) ([]Quote, int, error) + func (c *Client) ListRecipes(ctx context.Context, limit int) ([]Recipe, int, error) + func (c *Client) ListUsers(ctx context.Context, limit int) ([]User, int, error) + func (c *Client) SearchProducts(ctx context.Context, q string, limit int) ([]Product, int, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Post struct + ID int + Likes int + Tags string + Title string + UserID int + Views int + type Product struct + Brand string + Category string + ID int + Price float64 + Rating float64 + Stock int + Title string + type Quote struct + Author string + ID int + Quote string + type Recipe struct + Calories int + CookTime int + Cuisine string + Difficulty string + ID int + Name string + PrepTime int + Servings int + type User struct + Age int + City string + Country string + Email string + FirstName string + Gender string + ID int + LastName string + Username string v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) GetPage(ctx context.Context, path string) (*Page, error) + func (c *Client) PageLinks(ctx context.Context, path string, limit int) ([]*Page, error) + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Page struct + Body string + ID string + Title string + URL string