Frontend form handling done
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type User struct {
|
||||
ID int
|
||||
email string
|
||||
name string
|
||||
password string
|
||||
createdAt string
|
||||
}
|
||||
|
||||
func Create(email string, name string, hash string) {
|
||||
// TODO: Insert user into database
|
||||
}
|
||||
Reference in New Issue
Block a user