Documentation
¶
Overview ¶
logic contains the business logic of the application.
Since this application's actual focus is to demonstrate various API consumption issues, the business logic is kind of random. We're just returning lines from books.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BookNotFoundError ¶
type BookNotFoundError struct {
BookTitle string
}
func (*BookNotFoundError) Error ¶
func (e *BookNotFoundError) Error() string
type LineNotFoundError ¶
type LineNotFoundError struct {
LineNumber int
}
func (*LineNotFoundError) Error ¶
func (e *LineNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.