diff --git a/common/requests.go b/common/requests.go index cf4a904..32dfe23 100644 --- a/common/requests.go +++ b/common/requests.go @@ -1,3 +1,10 @@ package common type KeyModels map[string]interface{} + +type Request struct { + Username string `json:"username,omitemtpy"` + Password string `json:"password,omitempty"` + Mail string `json:"mail,omitempty"` + Role string `json:"role,omitempty"` +}