Versions in this module Expand all Collapse all v1 v1.2.0 Sep 22, 2024 v1.0.1 Sep 6, 2024 Changes in this version + var ErrInvalidBookId = errors.New("invalid book id") + func BookIdPathParam(r *http.Request) (int, error) + func Param(r *http.Request, key string) string + func RespondWithError(w http.ResponseWriter, code int, message string) + func RespondWithJson(w http.ResponseWriter, code int, payload interface{}) + func RespondWithStatus(w http.ResponseWriter, code int)