Documentation
¶
Index ¶
- Variables
- func DbInit() (*sql.DB, error)
- func ExistMemberTag(mId int, tId int) bool
- func FindBlogByMemberId(id int) (*models.Blog, error)
- func FindFormationIdByPositions(positions []Position) (int, error)
- func FindGroupIdByName(group string) (int, error)
- func FindMemberByNameEn(nameEn string) (int, error)
- func FindMemberIdByName(name string) (int, error)
- func FindSongIdByTitle(title string) (int, error)
- func FindUserByName(name string) (*models.Member, error)
- func GetTagIdByName(name string) (int, error)
- func InsertApiKey()
- func InsertBlogs()
- func InsertFormations()
- func InsertGraduatedMemberInfos()
- func InsertGroups()
- func InsertLocales()
- func InsertMain()
- func InsertMemberInfosFromGroupName(group string)
- func InsertMemberInfosFromGroupNameEn(group string)
- func InsertMemberInfosHinata()
- func InsertMemberInfosNogi()
- func InsertMemberInfosSakura()
- func InsertMemberTags()
- func InsertMembersHinata()
- func InsertMembersNogi()
- func InsertMembersSakura()
- func InsertPositions()
- func InsertSongs(groupName string)
- func InsertTags()
- func IsCenter(title string, name string) bool
- func MakeFormations(positions []Position) []int
- func UpdateBlogs()
- func UpdateGraduatedMembersNogi()
- func UpdateGraduatedMembersSakura()
- type Blog
- type Formation
- type Info
- type Position
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *sql.DB Ctx context.Context )
Functions ¶
func ExistMemberTag ¶
func FindGroupIdByName ¶
func FindMemberByNameEn ¶
func FindMemberIdByName ¶
func FindSongIdByTitle ¶
func GetTagIdByName ¶
func InsertApiKey ¶
func InsertApiKey()
func InsertBlogs ¶
func InsertBlogs()
func InsertFormations ¶
func InsertFormations()
func InsertGraduatedMemberInfos ¶
func InsertGraduatedMemberInfos()
func InsertGroups ¶
func InsertGroups()
func InsertLocales ¶
func InsertLocales()
func InsertMain ¶
func InsertMain()
func InsertMemberInfosFromGroupName ¶
func InsertMemberInfosFromGroupName(group string)
func InsertMemberInfosFromGroupNameEn ¶
func InsertMemberInfosFromGroupNameEn(group string)
func InsertMemberInfosHinata ¶
func InsertMemberInfosHinata()
func InsertMemberInfosNogi ¶
func InsertMemberInfosNogi()
func InsertMemberInfosSakura ¶
func InsertMemberInfosSakura()
func InsertMemberTags ¶
func InsertMemberTags()
func InsertMembersHinata ¶
func InsertMembersHinata()
func InsertMembersNogi ¶
func InsertMembersNogi()
func InsertMembersSakura ¶
func InsertMembersSakura()
func InsertPositions ¶
func InsertPositions()
func InsertSongs ¶
func InsertSongs(groupName string)
func InsertTags ¶
func InsertTags()
func MakeFormations ¶
func UpdateBlogs ¶
func UpdateBlogs()
func UpdateGraduatedMembersNogi ¶
func UpdateGraduatedMembersNogi()
func UpdateGraduatedMembersSakura ¶
func UpdateGraduatedMembersSakura()
Types ¶
type Blog ¶
type Blog struct { Name string `json:"name"` BlogUrl string `json:"blog_url"` LastBlogImg string `json:"last_blog_img"` LastUpdatedAt string `json:"last_updated_at"` }
func LoadBlogInfoFile ¶
type Formation ¶
type Formation struct { Single string `json:"single"` Title string `json:"title"` Position []Position `json:"positions"` }
func LoadFormationFile ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.