We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To support users we need the following:
A users table in the database with the schema:
users
id
username
hash_password
avatar_path
A user struct:
type User struct{ ID int UserName string HashPassword string AvatarPath string }
And finally, standard CRUD opeartions in db.go
The text was updated successfully, but these errors were encountered:
cjhammons
No branches or pull requests
To support users we need the following:
A
users
table in the database with the schema:id
: primary keyusername
hash_password
: the user's password encryptedavatar_path
: The filepath of the user's optional avatarA user struct:
And finally, standard CRUD opeartions in db.go
The text was updated successfully, but these errors were encountered: