rewrite using net/http

This commit is contained in:
alu committed 2026-10-26 18:26:03 +00:00
1 parent 67a6cdffa3
commit b97524d1ae
6 files changed
+236 -248

No files matched your search

+2 -2
View File
@@ -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"`
}