Skip to content

Commit

Permalink
services db issues
Browse files Browse the repository at this point in the history
  • Loading branch information
9glenda committed Sep 1, 2023
1 parent 0a0915d commit b11392b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/person/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/gofiber/fiber/v2"
"github.com/seekr-osint/seekr/api/enum"
"github.com/seekr-osint/seekr/api/enums"
// "github.com/seekr-osint/seekr/api/services"
"github.com/seekr-osint/seekr/api/validate"
"gorm.io/gorm"
)
Expand All @@ -23,6 +24,7 @@ type Person struct {
Ethnicity enum.Enum[enums.Ethnicity] `json:"ethnicity" tstype:"'African' | 'Asian' | 'Caucasian/White' | 'Hispanic/Latino' | 'Indigenous/Native American' | 'Multiracial/Mixed'" example:"Asian"`
Maidenname string `json:"maidenname" tstype:"string" example:"greg"`
Kids string `json:"kids" tstype:"string" example:"no because no wife"`
// Services services.MapServiceCheckResult `json:"accounts" grom:"type:embed"`
}

func (p Person) Validate(personValidator *validate.XValidator) error {
Expand Down

0 comments on commit b11392b

Please sign in to comment.