node build fixed
This commit is contained in:
26
seanime-2.9.10/codegen/internal/examples/structs1.go
Normal file
26
seanime-2.9.10/codegen/internal/examples/structs1.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package codegen
|
||||
|
||||
import (
|
||||
"seanime/internal/api/anilist"
|
||||
hibiketorrent "seanime/internal/extension/hibike/torrent"
|
||||
)
|
||||
|
||||
//type Struct1 struct {
|
||||
// Struct2
|
||||
//}
|
||||
//
|
||||
//type Struct2 struct {
|
||||
// Text string `json:"text"`
|
||||
//}
|
||||
|
||||
//type Struct3 []string
|
||||
|
||||
type Struct4 struct {
|
||||
Torrents []hibiketorrent.AnimeTorrent `json:"torrents"`
|
||||
Destination string `json:"destination"`
|
||||
SmartSelect struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
MissingEpisodeNumbers []int `json:"missingEpisodeNumbers"`
|
||||
} `json:"smartSelect"`
|
||||
Media *anilist.BaseAnime `json:"media"`
|
||||
}
|
||||
Reference in New Issue
Block a user