Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Difficulty ¶
type Difficulty int
const ( Beginner Difficulty = iota Basic Difficult Expert Challenge )
func StringToDifficulty ¶
func StringToDifficulty(difficulty string) Difficulty
func (Difficulty) String ¶
func (difficulty Difficulty) String() string
type Playcount ¶
type Playcount struct { Playcount int `tag:"総プレー回数" gorm:"column:playcount"` LastPlayDate time.Time `tag:"最終プレー日時" gorm:"column:last_play_date;primary_key"` SinglePlaycount int `tag:"プレー回数_single" gorm:"column:single_playcount"` SingleLastPlayDate time.Time `tag:"最終プレー日時_single" gorm:"column:last_single_play_date"` DoublePlaycount int `tag:"プレー回数_double" gorm:"column:double_playcount"` DoubleLastPlayDate time.Time `tag:"最終プレー日時_double" gorm:"column:last_double_play_date"` PlayerCode int `gorm:"column:player_code;primary_key"` }
type PlayerDetails ¶
type PlayerDetails struct { Code int `tag:"DDR-CODE" gorm:"column:code;primary_key"` Name string `tag:"ダンサーネーム" gorm:"column:name"` Prefecture string `tag:"所属都道府県" gorm:"column:location"` SingleRank string `tag:"段位(SINGLE)" gorm:"column:single_rank"` DoubleRank string `tag:"段位(DOUBLE)" gorm:"column:double_rank"` Affiliation string `tag:"所属クラス" gorm:"column:affiliation"` EaGateUser *string `gorm:"column:eagate_user"` }
func (PlayerDetails) TableName ¶
func (PlayerDetails) TableName() string
type Score ¶
type Score struct { Score int `gorm:"column:score"` ClearStatus bool `gorm:"column:cleared"` TimePlayed time.Time `gorm:"column:time_played;primary_key"` SongId string `gorm:"column:song_id;primary_key"` Mode string `gorm:"column:mode;primary_key"` Difficulty string `gorm:"column:difficulty;primary_key"` PlayerCode int `gorm:"column:player_code;primary_key"` }
type Song ¶
type SongDifficulty ¶
type SongDifficulty struct { SongId string `gorm:"column:song_id;primary_key"` Mode string `gorm:"column:mode;primary_key"` Difficulty string `gorm:"column:difficulty;primary_key"` DifficultyValue int16 `gorm:"column:difficulty_value"` }
func (SongDifficulty) TableName ¶
func (SongDifficulty) TableName() string
type SongStatistics ¶
type SongStatistics struct { BestScore int `tag:"ハイスコア" gorm:"column:score_record"` Lamp string `tag:"フルコンボ種別" gorm:"column:clear_lamp"` Rank string `tag:"ハイスコア時のダンスレベル" gorm"column:rank"` PlayCount int `tag:"プレー回数" gorm:"column:playcount"` ClearCount int `tag:"クリア回数" gorm:"column:clearcount"` MaxCombo int `tag:"最大コンボ数" gorm:"column:maxcombo"` LastPlayed time.Time `tag:"最終プレー時間" gorm:"column:lastplayed"` SongId string `gorm:"column:song_id;primary_key"` Mode string `gorm:"column:mode;primary_key"` Difficulty string `gorm:"column:difficulty;primary_key"` PlayerCode int `gorm:"column:player_code;primary_key"` }
func (SongStatistics) Equals ¶
func (s1 SongStatistics) Equals(s2 SongStatistics) bool
func (SongStatistics) TableName ¶
func (SongStatistics) TableName() string
type WorkoutData ¶
type WorkoutData struct { Date time.Time `gorm:"column:date;primary_key"` PlayCount int `gorm:"column:playcount"` Kcal float32 `gorm:"column:kcal"` PlayerCode int `gorm:"column:player_code;primary_key"` }
func (WorkoutData) Equals ¶
func (w1 WorkoutData) Equals(w2 WorkoutData) bool
func (WorkoutData) TableName ¶
func (WorkoutData) TableName() string
Click to show internal directories.
Click to hide internal directories.