Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // There are five spaces between a books // title and its series information if // the series information is given TITLE_AND_SERIES_INFO_SEPERATOR = regexp.MustCompile("[ ]{3,}") // Goodreads returns 30 books per page BOOK_COUNT_PER_PAGE = 30 // Base URL that book links are built on GOODREADS_BASE_BOOK_URL = "https://www.goodreads.com" // Crude to check if a roughly valid // shelf URL is being queried GOODREADS_SHELF_URL_PREFIX = GOODREADS_BASE_BOOK_URL + "/review/list/" ONLY_NUMBERS = regexp.MustCompile(`([0-9]+)`) AVG_RATING_FLOAT_ZERO_VALUE = "\"avgRating\":0.0," FIXED_AVG_RATING_STRING_VALUE = "\"avgRating\":\"0.0\"," )
Functions ¶
func GetBookDetailsWs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.