Skip to content

if1bonacci/lets-go-chat

Repository files navigation

lets-go-chat

Go GitHub Issues GitHub Stars GitHub Forks

Run

go run main.go wire_gen.go

Swagger

http://localhost:8080/swagger/index.html#/

pprof

./pprof.sh
http://localhost:8080/debug/pprof/

##Mock

mockgen -source=./internal/handlers/messageHandler.go -destination=./internal/mock/handlers/messageHandler.go

Function

  • The function func HashPassword creates a hashed password by receiving a string
HashPassword(password string) (string, error)
CheckPasswordHash(password, hash string) bool