Posts by Carlos Manuel • 21 points
1 post
-
2
votes0
answers29
viewsQ: Login with GORM with intercalated return between ID and 0
Guys, I’m learning to code in the GO language, and I made an api with a login system. func Authenticate(db *gorm.DB, auth models.UserAuthForm) uint { hasher.Write([]byte(auth.Password)) pass_hash :=…