Versions in this module Expand all Collapse all v1 v1.0.0 Mar 17, 2021 Changes in this version + func PrettyPrint(p []Post) string + type Client struct + func NewClient(t *Token) (*Client, error) + func (c *Client) Posts(count int, offset int) ([]Post, error) + func (c *Client) PostsByDate(date string) ([]Post, error) + func (c *Client) PostsByTags(tags []string) ([]Post, error) + func (c *Client) Save(addr string, tags []string) error + func (c *Client) Suggest(addr string) ([]Tag, error) + func (c *Client) Tags() ([]Tag, error) + type DateListResponse struct + Date time.Time + Posts []struct{ ... } + User string + type Post struct + Description string + Href string + Tags string + ToRead bool + func (p *Post) Valid() bool + type PostListResponse []struct + type Response struct + Date string + Posts []Post + type Tag struct + Count int + Name string + func NewTag(name string) (*Tag, error) + type TagSuggestResponse []struct + type Token struct + func NewToken(secret string) (*Token, error) + func (k *Token) Secret() string + func (k *Token) User() string + func (k *Token) Valid() bool