utils

package
v0.0.0-...-8f6881d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserByContext

func GetUserByContext(c echo.Context) model.User

func HashPassword

func HashPassword(password string) (hashedPassword string, err error)

func MappingRequest

func MappingRequest(request interface{}, model interface{}) error

func SetHTTPStatusCode

func SetHTTPStatusCode(err error) int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL