Documentation
¶
Index ¶
- Variables
- func BookList() (events.APIGatewayProxyResponse, error)
- func GetByChapter(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
- func PassageReference(version, bookName, bookID, chapID, verseID string) string
- type BooksResp
- type ReqDTO
- type RespDTO
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrVersion an error for illegal entry of version ErrVersion error // ErrBook an error for illegal entry of book ErrBook error // ErrChap an error for illegal range of entry of chapter ErrChap error )
Functions ¶
func BookList ¶
func BookList() (events.APIGatewayProxyResponse, error)
BookList returns all the books in the Bible
func GetByChapter ¶
func GetByChapter(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
GetByChapter returns script specified in dto
func PassageReference ¶
PassageReference summarizes location of each verse ex) (창 1:1), (Gen 1:1)
Types ¶
type BooksResp ¶
type BooksResp struct { OT []bookInfo `json:"ot"` NT []bookInfo `json:"nt"` }
BooksResp is a response for fetching books
Click to show internal directories.
Click to hide internal directories.