func HashPassword(pwd string) string {
	hash, err := bcrypt.GenerateFromPassword([]byte(pwd), bcrypt.MinCost)
	if err != nil {
		log.Println(err)
	}
	// GenerateFromPassword returns a byte slice so we need to
	// convert the bytes to a string and return it
	return string(hash)
}
// HashPassword to hash password sent from api
HashPassword to hash password sent from api
// HashPassword to hash password sent from api
func HashPassword(pwd string) string {
	hash, err := bcrypt.GenerateFromPassword([]byte(pwd), bcrypt.MinCost)
	if err != nil {
		log.Println(err)
	}
	return string(hash)
}
func HashPassword ( pwd string ) string { hash , err := bcrypt . GenerateFromPassword ( [ ] byte ( pwd ) , bcrypt . MinCost ) if err != nil { log . Println ( err ) } return string ( hash ) }
HashPassword to hash password sent from api
HashPassword to hash password sent from api
// GenerateFromPassword returns a byte slice so we need to // convert the bytes to a string and return it