Commit 49e792492d

49e792492d31619ad5fc98228533fa9a1b2c2de2

parent: b22716db90

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-20 12:29 UTC

Remove: Struct defination

Layout: unified · split

cmd/curd/main.go +1 −45
@@ -10,51 +10,7 @@ import (
1010 "github.com/wraient/curd/internal"
1111)
1212
13type AnimeTitle struct {
14 Romaji string
15 English string
16 Japanese string
17}
18
19type Anime struct {
20 Title AnimeTitle
21 Ep Episode
22 TotalEpisodes int
23 MalId int
24 AnilistId int
25 AllanimeId string
26}
27
28type SkipTimes struct {
29 Op int
30 Ed int
31}
32
33type Episode struct {
34 Tit AnimeTitle
35 Number int
36 Skip_times SkipTimes
37 Links []string
38 Is_filler bool
39 Is_recap bool
40 Aired string
41 Synopsis string
42}
43
44type playingVideo struct {
45 url string
46 speed float64
47 playbackTime int
48}
49
50type User struct {
51 token string
52 username string
53 id int
54 animeList internal.AnimeList
55}
56
57func main(){
13func main() {
5814 // internal.ClearScreen()
5915 // defer internal.RestoreScreen()
6016