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.
|
// AnimeEpisodes is a list of episodes for an anime.
|
||||||
type AnimeEpisodes struct {
|
type AnimeEpisodes struct {
|
||||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||||
Items []*AnimeEpisode `json:"items" editable:"true"`
|
Items []*AnimeEpisode `json:"items" editable:"true"`
|
||||||
|
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
|
@ -19,7 +19,7 @@ func init() {
|
|||||||
// AnimeRelation ...
|
// AnimeRelation ...
|
||||||
type AnimeRelation struct {
|
type AnimeRelation struct {
|
||||||
AnimeID AnimeID `json:"animeId" editable:"true"`
|
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 ...
|
// Anime ...
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
// AnimeRelations is a list of relations for an anime.
|
// AnimeRelations is a list of relations for an anime.
|
||||||
type AnimeRelations struct {
|
type AnimeRelations struct {
|
||||||
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
AnimeID AnimeID `json:"animeId" mainID:"true"`
|
||||||
Items []*AnimeRelation `json:"items" editable:"true"`
|
Items []*AnimeRelation `json:"items" editable:"true"`
|
||||||
|
|
||||||
sync.Mutex
|
sync.Mutex
|
||||||
|
Loading…
Reference in New Issue
Block a user