mirror of
https://github.com/JuLi0n21/pwa-player.git
synced 2026-04-19 23:40:05 +00:00
add sqlc, fix background img fetching
This commit is contained in:
36
grpc-backend/internal/db/models.go
Normal file
36
grpc-backend/internal/db/models.go
Normal file
@@ -0,0 +1,36 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.29.0
|
||||
|
||||
package db
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
)
|
||||
|
||||
type Beatmap struct {
|
||||
Beatmapid sql.NullInt64 `json:"beatmapid"`
|
||||
Artist sql.NullString `json:"artist"`
|
||||
Artistunicode sql.NullString `json:"artistunicode"`
|
||||
Title sql.NullString `json:"title"`
|
||||
Titleunicode sql.NullString `json:"titleunicode"`
|
||||
Creator sql.NullString `json:"creator"`
|
||||
Difficulty sql.NullString `json:"difficulty"`
|
||||
Audio sql.NullString `json:"audio"`
|
||||
Md5hash sql.NullString `json:"md5hash"`
|
||||
File sql.NullString `json:"file"`
|
||||
Rankedstatus sql.NullString `json:"rankedstatus"`
|
||||
Lastmodifiedtime sql.NullTime `json:"lastmodifiedtime"`
|
||||
Totaltime sql.NullInt64 `json:"totaltime"`
|
||||
Audiopreviewtime sql.NullInt64 `json:"audiopreviewtime"`
|
||||
Beatmapsetid sql.NullInt64 `json:"beatmapsetid"`
|
||||
Source sql.NullString `json:"source"`
|
||||
Tags sql.NullString `json:"tags"`
|
||||
Lastplayed sql.NullTime `json:"lastplayed"`
|
||||
Folder sql.NullString `json:"folder"`
|
||||
}
|
||||
|
||||
type Collection struct {
|
||||
Name sql.NullString `json:"name"`
|
||||
Md5hash sql.NullString `json:"md5hash"`
|
||||
}
|
||||
Reference in New Issue
Block a user