package
Version:
v0.0.0-...-689dde8
Opens a new window with list of versions in this module.
Published: Dec 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BooksWithNotesResponse struct {
Books []NoteBook `json:"books"`
}
type GoalProgressResponse struct {
Percentage float64 `json:"percentage"`
Left int64 `json:"left"`
}
type ListItemsResponse struct {
ID int64 `json:"id"`
ListID int64 `json:"list_id"`
BookName string `json:"book_name"`
}
type ListListsResponse struct {
ID int64 `json:"id"`
Title string `json:"title"`
}
type ListRequest struct {
Title string `json:"title"`
}
type NoteBook struct {
ID int64 `json:"id"`
Title string `json:"title"`
}
type NoteRequest struct {
PageNumber int64 `json:"page_number"`
Content string `json:"content"`
}
type NoteResponse struct {
ID int64 `json:"id"`
PageNumber int64 `json:"page_number"`
Content string `json:"content"`
}
type ProgressRequest struct {
Pages int64 `json:"pages"`
Date time.Time `json:"date"`
}
type Reading struct {
ID int64 `json:"id"`
TotalPages int64 `json:"total_pages"`
Link string `json:"link"`
}
type ReadingResponse struct {
BookTitle string `json:"book_title"`
Status string `json:"status"`
Progress int64 `json:"progress"`
Reading Reading `json:"reading"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.