leaf-library-3/internal/schema/user_response.go
2024-12-06 01:44:29 +08:00

12 lines
287 B
Go

package schema
import "leafdev.top/Leaf/leaf-library-3/internal/pkg/user"
type CurrentUserResponse struct {
IP string `json:"ip"`
Valid bool `json:"valid"`
UserEmail string `json:"userEmail"`
UserId user.Id `json:"userId"`
UserName string `json:"userName"`
}