Documentation ¶
Index ¶
- type StoryResource
- func (r *StoryResource) CacheStoryIds(storyType string, ids []int) error
- func (r *StoryResource) FindById(id int) hn.Item
- func (r *StoryResource) FindByIds(ids []int) ([]hn.Item, error)
- func (r *StoryResource) FindCacheStoryIds(storyType string) ([]int, error)
- func (r *StoryResource) SaveStory(id int, item *hn.Item) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoryResource ¶
func (*StoryResource) CacheStoryIds ¶
func (r *StoryResource) CacheStoryIds(storyType string, ids []int) error
func (*StoryResource) FindCacheStoryIds ¶
func (r *StoryResource) FindCacheStoryIds(storyType string) ([]int, error)
Click to show internal directories.
Click to hide internal directories.