Formatted code with gofmt
This commit is contained in:
parent
18a7be18d2
commit
6ec0efe93b
@ -11,7 +11,7 @@ import (
|
||||
|
||||
// AnimeEpisodes is a list of episodes for an anime.
|
||||
type AnimeEpisodes struct {
|
||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||
Items []*AnimeEpisode `json:"items" editable:"true"`
|
||||
|
||||
sync.Mutex
|
||||
|
@ -19,7 +19,7 @@ func init() {
|
||||
// AnimeRelation ...
|
||||
type AnimeRelation struct {
|
||||
AnimeID AnimeID `json:"animeId" editable:"true"`
|
||||
Type string `json:"type" editable:"true" datalist:"anime-relation-types"`
|
||||
Type string `json:"type" editable:"true" datalist:"anime-relation-types"`
|
||||
}
|
||||
|
||||
// Anime ...
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
|
||||
// AnimeRelations is a list of relations for an anime.
|
||||
type AnimeRelations struct {
|
||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||
Items []*AnimeRelation `json:"items" editable:"true"`
|
||||
|
||||
sync.Mutex
|
||||
|
Loading…
Reference in New Issue
Block a user