rewrite using net/http
This commit is contained in:
1 parent
67a6cdffa3
commit
b97524d1ae
6 files changed
+236
-248
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package app
|
||||
|
||||
type Login struct { // login body struct
|
||||
UsernameRaw string `json:"username" binding:"required"`
|
||||
UsernameRaw string `json:"username"`
|
||||
Username Username
|
||||
Password string `json:"password" binding:"required"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
Reference in new issue
Block a user