blob: afa705633803e2fededb7572cfbf7545ad54bc57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package repositories
import (
"metachan/database"
"time"
"gorm.io/gorm"
)
var DB *gorm.DB = database.DB
type idType interface {
~int | ~string
}
type animeStub struct {
MALID int
UpdatedAt time.Time
EnrichedAt *time.Time
}
type animeCharacterRow struct {
Role string
}
type characterStub struct {
MALID int
EnrichedAt *time.Time
}
type personStub struct {
MALID int
EnrichedAt *time.Time
}
|