Files
access-manager-api/app/common/schema.go
T
alu 4783d79523
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 30s
refactor routes,
use json encoding for route body parameters,
implement modify user/group/pool operations,
simplify schema by using comon lib struct tags and RequireAll and AtLeastOne helper functions,
properly implement locadb as Backend interface
2026-08-21 20:49:15 +00:00

8 lines
192 B
Go

package app
type Login struct { // login body struct
UsernameRaw string `json:"username" binding:"required"`
Username Username
Password string `json:"password" binding:"required"`
}