Add user registration with password hashing and restructure handlers directory
This commit is contained in:
6
internal/models/requestModels/register.go
Normal file
6
internal/models/requestModels/register.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package requestmodels
|
||||
|
||||
type RegisterInput struct {
|
||||
Username string `json:"username" binding:"required"`
|
||||
Password string `json:"password" binding:"required"`
|
||||
}
|
Reference in New Issue
Block a user