Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBranch ¶
func ValidatePlayer ¶
func ValidateRole ¶
func ValidateYear ¶
Types ¶
type Player ¶
type Player struct { ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` FirstName string `json:"firstName" bson:"firstName"` LastName string `json:"lastName" bson:"lastName"` Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` Role string `json:"role" bson:"role"` Branch string `json:"branch" bson:"branch"` Year string `json:"year" bson:"year"` ContactNo string `json:"contactNo" bson:"contactNo"` Social []string `json:"socials,omitempty" bson:"socials,omitempty"` IsDeleted bool `json:"isDeleted,omitempty" bson:"isDeleted,omitempty"` DeletedBy primitive.ObjectID `json:"deletedBy,omitempty" bson:"deleteBy,omitempty"` DeletedAt primitive.ObjectID `json:"deletedAt,omitempty" bson:"deletedAt,omitempty"` CreatedAt time.Time `json:"createdAt" bson:"createdAt"` OTP int `json:"otp,omitempty"` jwt.StandardClaims `json:"claims,omitempty" bson:"claims,omitempty"` }
Click to show internal directories.
Click to hide internal directories.