Skip to content

Commit 358c6ea

Browse files
committed
Add update user method
1 parent 7074332 commit 358c6ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

models/users.go

+4
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,8 @@ func DeleteUser (id uint)(bool){
6464
}
6565
GetDB().Table("users").Delete(id)
6666
return true
67+
}
68+
69+
func UpdateUser (id uint)(*User){
70+
6771
}

0 commit comments

Comments
 (0)