Discover Packages
github.com/postmannen/go-learning
http
001-calhounCourse
controllers
package
Version:
v0.0.0-...-9882766
Opens a new window with list of versions in this module.
Published: Nov 26, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type SignupForm struct {
Email string `schema:"email"`
Password string `schema:"password"`
}
SignupForm is used to hold the values that is parsed from the web form.
Users holds all the parameter of a user
NewUsers to prepare and create a new user
Create is the method who actually handles the logic to create the user after
the submit button have been pressed in the signup page (called by the New method)
New used to render the form for the create user page
Source Files
¶
Click to show internal directories.
Click to hide internal directories.