Improved code documentation

This commit is contained in:
2019-09-10 09:49:51 +09:00
parent e774dccb08
commit 27753f6f9e
11 changed files with 28 additions and 24 deletions

View File

@ -16,7 +16,7 @@ func init() {
}
}
// AnimeRelation ...
// AnimeRelation represents a relation to another anime.
type AnimeRelation struct {
AnimeID AnimeID `json:"animeId" editable:"true"`
Type string `json:"type" editable:"true" datalist:"anime-relation-types"`