Browse Source

Fixed typo in commenst for fictionalDate and editedDate resolvers

1.0
Gisle Aune 6 years ago
parent
commit
4bbb8bb9ae
  1. 4
      resolver/chapter.go

4
resolver/chapter.go

@ -55,12 +55,12 @@ func (r *ChapterResolver) CreatedDate() string {
return r.C.CreatedDate.Format(time.RFC3339Nano) return r.C.CreatedDate.Format(time.RFC3339Nano)
} }
// FictionalDate resolves Chapter.createdDate
// FictionalDate resolves Chapter.fictionalDate
func (r *ChapterResolver) FictionalDate() string { func (r *ChapterResolver) FictionalDate() string {
return r.C.FictionalDate.Format(time.RFC3339Nano) return r.C.FictionalDate.Format(time.RFC3339Nano)
} }
// EditedDate resolves Chapter.createdDate
// EditedDate resolves Chapter.editedDate
func (r *ChapterResolver) EditedDate() string { func (r *ChapterResolver) EditedDate() string {
return r.C.EditedDate.Format(time.RFC3339Nano) return r.C.EditedDate.Format(time.RFC3339Nano)
} }
Loading…
Cancel
Save