leaf-library-3/internal/dto/user_response.go

14 lines
289 B
Go
Raw Normal View History

2024-12-06 15:38:22 +00:00
package dto
2024-12-05 17:44:29 +00:00
2024-12-06 15:38:22 +00:00
import (
2024-12-10 10:22:14 +00:00
"leafdev.top/Leaf/leaf-library-3/internal/dto/user"
2024-12-06 15:38:22 +00:00
)
2024-12-05 17:44:29 +00:00
type CurrentUserResponse struct {
IP string `json:"ip"`
Valid bool `json:"valid"`
UserEmail string `json:"userEmail"`
2024-12-06 18:44:32 +00:00
UserId user.ID `json:"userId"`
2024-12-05 17:44:29 +00:00
UserName string `json:"userName"`
}