Documentation ¶
Index ¶
- Variables
- func EntryRankings() *gorm.DB
- func PictureAnimations() *gorm.DB
- func PictureAnimationsCount() *gorm.DB
- func PictureEntries() *gorm.DB
- func PictureRankings() *gorm.DB
- func PictureShowSummaries() *gorm.DB
- func PictureSummaries() *gorm.DB
- func VideoEntries() *gorm.DB
- func VideoGoddess() *gorm.DB
- func VideoRankings() *gorm.DB
- func VideoShowSummaries() *gorm.DB
- func VideoSummaries() *gorm.DB
- type Anime
- type Blog
- type Character
- type Diva
- type Entry
- func (m *Entry) CommaTags() string
- func (m *Entry) GetByBlog() (*gorm.DB, error)
- func (m *Entry) HasBan() bool
- func (m *Entry) IsLiving() bool
- func (m *Entry) NewsLoader()
- func (m *Entry) NextByBlog() (*Entry, error)
- func (m *Entry) PictureShowLoader()
- func (m *Entry) PreviousByBlog() (*Entry, error)
- func (m *Entry) RelLoader()
- func (m *Entry) VideoShowLoader()
- type EntryRanking
- type Image
- type Picture
- type PictureRanking
- type RankingBase
- type Score
- type Site
- type Summary
- type Tag
- type User
- type Video
- type VideoCode
- type VideoRanking
- type VideoUrl
Constants ¶
This section is empty.
Variables ¶
View Source
var BracupLines = map[string][]string{ "C": []string{"AAA", "AA", "A", "B", "C"}, "D": []string{"D"}, "E": []string{"E"}, "F": []string{"F"}, "G": []string{"G"}, "H": []string{"H"}, "I": []string{"I", "J", "K", "L", "M", "N", "O", "P"}, }
View Source
var DB gorm.DB
View Source
var PrefixLines = map[string][]string{ "あ": []string{"a", "i", "u", "e", "o"}, "か": []string{"ka", "ki", "ku", "ke", "ko", "ga", "gi", "gu", "ge", "go"}, "さ": []string{"sa", "si", "su", "se", "so", "za", "zi", "zu", "ze", "zo"}, "た": []string{"ta", "ti", "tu", "te", "to", "da", "di", "du", "de", "do"}, "な": []string{"na", "ni", "nu", "ne", "no"}, "は": []string{"ha", "hi", "hu", "he", "ho", "ba", "bi", "bu", "be", "bo", "pa", "pi", "pu", "pe", "po"}, "ま": []string{"ma", "mi", "mu", "me", "mo"}, "や": []string{"ya", "yu", "yo"}, "ら": []string{"ra", "ri", "ru", "re", "ro"}, "わ": []string{"wa"}, }
Functions ¶
func EntryRankings ¶
func PictureAnimationsCount ¶
func PictureEntries ¶
func PictureRankings ¶
func PictureShowSummaries ¶
func PictureSummaries ¶
func VideoEntries ¶
func VideoRankings ¶
func VideoShowSummaries ¶
func VideoSummaries ¶
Types ¶
type Blog ¶
type Blog struct { Id int64 Rss string Url string Name string Mediatype string Adsensetype string VerifyParts int VerifyRss int VerifyLink int VerifyBookRss int VerifyBookLink int VerifyVideoRss int VerifyVideoLink int IsBan string IsPenalty bool LastModified time.Time Created time.Time Updated time.Time User *User UserId sql.NullInt64 Icon *Image IconId sql.NullInt64 Scores []*Score Entries []*Entry }
func (*Blog) PictureShowLoader ¶
func (m *Blog) PictureShowLoader()
func (*Blog) VideoShowLoader ¶
func (m *Blog) VideoShowLoader()
type Character ¶
type Character struct { Id int64 Name string Kana string Romaji string Gyou string Birthday time.Time Blood string Height int Weight int Bust int Waste int Hip int Bracup string Outline string Created time.Time Updated time.Time Icon *Image IconId sql.NullInt64 Product string Anime *Anime AnimeId sql.NullInt64 PicturesCount int Pictures []*Picture }
type Diva ¶
type Entry ¶
type Entry struct { Id int64 Url string Title string Content string SeoTitle string SeoContent string Encoded string Creator string Publisher string PublishedAt time.Time IsBan string IsPenalty bool PageView int64 Q string Created time.Time Updated time.Time Blog *Blog BlogId sql.NullInt64 Video *Video Picture *Picture Summary *Summary Tags []*Tag `gorm:"many2many:entry_tag;"` Images []*Image `gorm:"many2many:entry_image;"` Scores []*Score }
func (*Entry) NewsLoader ¶
func (m *Entry) NewsLoader()
func (*Entry) NextByBlog ¶
func (*Entry) PictureShowLoader ¶
func (m *Entry) PictureShowLoader()
func (*Entry) PreviousByBlog ¶
func (*Entry) VideoShowLoader ¶
func (m *Entry) VideoShowLoader()
type EntryRanking ¶
type EntryRanking struct { RankingBase Entry *Entry EntryId sql.NullInt64 }
func (*EntryRanking) PreviousRanking ¶
func (m *EntryRanking) PreviousRanking() *EntryRanking
func (*EntryRanking) RankingsLoader ¶
func (m *EntryRanking) RankingsLoader()
type Picture ¶
type Picture struct { Id int64 PageView int64 ImageCount int Created time.Time Updated time.Time Entry *Entry EntryId sql.NullInt64 Anime *Anime AnimeId sql.NullInt64 Images []*Image Characters []*Character `gorm:"many2many:picture_character;"` }
func (*Picture) NewsLoader ¶
func (m *Picture) NewsLoader()
func (*Picture) RankingsLoader ¶
func (m *Picture) RankingsLoader()
func (*Picture) ShowLoader ¶
func (m *Picture) ShowLoader()
func (*Picture) TodayRanking ¶
func (m *Picture) TodayRanking(name string) *PictureRanking
type PictureRanking ¶
type PictureRanking struct { RankingBase Picture *Picture PictureId sql.NullInt64 }
func (*PictureRanking) PreviousRanking ¶
func (m *PictureRanking) PreviousRanking() *PictureRanking
func (*PictureRanking) RankingsLoader ¶
func (m *PictureRanking) RankingsLoader()
type RankingBase ¶
type Summary ¶
type Summary struct { Id int64 Sort int64 Created time.Time Updated time.Time Entry *Entry EntryId sql.NullInt64 Scores []*Score }
func (*Summary) NewsLoader ¶
func (m *Summary) NewsLoader()
func (*Summary) ShowLoader ¶
func (m *Summary) ShowLoader()
type Tag ¶
type Video ¶
type Video struct { Id int64 PageView int64 Url string Code string Duration int Urls []*VideoUrl Codes []*VideoCode Created time.Time Updated time.Time Entry *Entry EntryId sql.NullInt64 Site *Site SiteId sql.NullInt64 Divas []*Diva `gorm:"many2many:video_diva;"` }
func (*Video) NewsLoader ¶
func (m *Video) NewsLoader()
func (*Video) RankingsLoader ¶
func (m *Video) RankingsLoader()
func (*Video) ShowLoader ¶
func (m *Video) ShowLoader()
func (*Video) TodayRanking ¶
func (m *Video) TodayRanking(name string) *VideoRanking
type VideoRanking ¶
type VideoRanking struct { RankingBase Video *Video VideoId sql.NullInt64 }
func (*VideoRanking) PreviousRanking ¶
func (m *VideoRanking) PreviousRanking() *VideoRanking
func (*VideoRanking) RankingsLoader ¶
func (m *VideoRanking) RankingsLoader()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.