Documentation ¶
Index ¶
Constants ¶
View Source
const DONGERLIST = "http://dongerlist.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormRepository ¶
type GormRepository struct {
// contains filtered or unexported fields
}
func NewGormRepository ¶
func NewGormRepository(database *gorm.DB) *GormRepository
func (GormRepository) Categories ¶
func (g GormRepository) Categories() ([]string, error)
func (GormRepository) Count ¶
func (g GormRepository) Count() int64
func (GormRepository) RandomByCategory ¶
func (g GormRepository) RandomByCategory(cat string) (dong.Emoji, error)
type WebFetcher ¶
type WebFetcher struct {
// contains filtered or unexported fields
}
func NewScraper ¶
func NewScraper() *WebFetcher
Click to show internal directories.
Click to hide internal directories.