Formatted code with gofmt

This commit is contained in:
Eduard Urbach 2019-06-07 10:51:04 +09:00
parent 18a7be18d2
commit 6ec0efe93b
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 ...

View File

@ -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