func (dc *DexClient) GetChapterContext(ctx context.Context, id string) (*ChapterResponse, error) {
	var r ChapterResponse
	err := dc.responseOp(ctx, http.MethodGet, fmt.Sprintf(GetChapterPath, id), nil, &r)
	return &r, err
}
GetChapterContext : GetChapter with custom context.
package mangodex
import (
	"context"
	"fmt"
	"io"
	"net/http"
)
const (
	DeleteChapterPath     = "chapter/%s"
	GetChapterPath        = DeleteChapterPath
	UpdateChapterPath     = DeleteChapterPath
	MarkChapterReadPath   = "chapter/%s/read"
	MarkChapterUnreadPath = MarkChapterReadPath
)
type ChapterList struct {
	Data   []Chapter `json:"data"`
	Limit  int       `json:"limit"`
	Offset int       `json:"offset"`
	Total  int       `json:"total"`
}
type ChapterResponse struct {
	Result        string         `json:"result"`
	Data          Chapter        `json:"data"`
	Relationships []Relationship `json:"relationships"`
}
func (r *ChapterResponse) GetResult() string {
	return r.Result
}
type Chapter struct {
	ID            string            `json:"id"`
	Type          string            `json:"type"`
	Attributes    ChapterAttributes `json:"attributes"`
	Relationships []Relationship    `json:"relationships"`
}
type ChapterAttributes struct {
	Title              string   `json:"title"`
	Volume             *string  `json:"volume"`
	Chapter            *string  `json:"chapter"`
	TranslatedLanguage string   `json:"translatedLanguage"`
	Hash               string   `json:"hash"`
	Data               []string `json:"data"`
	DataSaver          []string `json:"dataSaver"`
	Uploader           string   `json:"uploader"`
	Version            int      `json:"version"`
	CreatedAt          string   `json:"createdAt"`
	UpdatedAt          string   `json:"updatedAt"`
	PublishAt          string   `json:"publishAt"`
}
func (dc *DexClient) DeleteChapter(id string) error {
	return dc.DeleteChapterContext(context.Background(), id)
}
func (dc *DexClient) DeleteChapterContext(ctx context.Context, id string) error {
	return dc.responseOp(ctx, http.MethodDelete, fmt.Sprintf(DeleteChapterPath, id), nil, nil)
}
func (dc *DexClient) GetChapter(id string) (*ChapterResponse, error) {
	return dc.GetChapterContext(context.Background(), id)
}