package
0.0.0-20240404071821-0455cec6c69a
Repository: https://github.com/yu-qi/goauth.git
Documentation: pkg.go.dev
# Functions
CompareBcryptPassword compare bcrypt password.
GenerateBcryptPassword generate bcrypt password.
GetWithHeaderForTest sends a GET request to the given URL with the given header.
PostForTest sends a POST request to the given URL with the given body.
Ptr returns a pointer to the given value.
RandEmail returns a random email.
RandString returns a random string of length n.
ToGinContextExt converts a gin.Context to GinContextExt.
UUID generates a new UUID in version 4.
ValidatePassword check if it matches the requirement.
# Interfaces
AfterBinding is a function that gets called after the successful binding provided by GinContextExt.
AfterValidate is a function that gets called after the successful binding provided by GinContextExt.
# Type aliases
GinContextExt .