Documentation ¶
Index ¶
- func ConvertPrimitiveID(id string) primitive.ObjectID
- func ConvertPrimitiveIDs(ids []string) []primitive.ObjectID
- func ConvertStringToInt(s string) int64
- func DecodeQueryParams(queryStr string, key string, req interface{}) error
- func GetParamsValue(c echo.Context, from interface{}, to interface{})
- func GetUserByContext(ctx echo.Context) model.User
- func GetUserIDByContext(ctx echo.Context) primitive.ObjectID
- func HashPassword(password string) (hashedPassword string, err error)
- func MappingRequest(request interface{}, model interface{}) error
- func SetHTTPStatusCode(err error) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPrimitiveID ¶
func ConvertPrimitiveIDs ¶
func ConvertStringToInt ¶
func DecodeQueryParams ¶
func GetParamsValue ¶
func GetParamsValue(c echo.Context, from interface{}, to interface{})
func GetUserByContext ¶
func GetUserIDByContext ¶
func HashPassword ¶
func MappingRequest ¶
func MappingRequest(request interface{}, model interface{}) error
func SetHTTPStatusCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.