Documentation ¶
Index ¶
- func CommitOrRollback(tx *sql.Tx)
- func ComparePasswordHash(clearText string, hash string) bool
- func DecodeFormData(r *http.Request, result interface{})
- func DecodeRequestBody(r *http.Request, result interface{})
- func EncodeResponseBody(w http.ResponseWriter, response interface{})
- func EstimateReadingTime(str string) int
- func HashPassword(password string) string
- func PanicIfError(err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitOrRollback ¶
func ComparePasswordHash ¶
func DecodeFormData ¶
func DecodeRequestBody ¶
func EncodeResponseBody ¶
func EncodeResponseBody(w http.ResponseWriter, response interface{})
func EstimateReadingTime ¶
func HashPassword ¶
func PanicIfError ¶
func PanicIfError(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.