usermodels

package
v0.0.0-...-c9a23b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUserInfoInput

type CreateUserInfoInput struct {
	Email     string `json:"email"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

type UpdateUserInfoInput

type UpdateUserInfoInput struct {
	FirstName     string `json:"firstName"`
	LastName      string `json:"lastName"`
	Bio           string `json:"bio"`
	ProfileImgUrl string `json:"profileImgUrl"`
}

type UserInfo

type UserInfo struct {
	UserId        string    `json:"userId" bson:"_id"`
	Email         string    `json:"email" bson:"email"`
	FirstName     string    `json:"firstName" bson:"firstName"`
	LastName      string    `json:"lastName" bson:"lastName"`
	Bio           string    `json:"bio" bson:"bio"`
	ProfileImgUrl string    `json:"profileImgUrl" bson:"profileImgUrl"`
	CreatedAt     time.Time `json:"createdAt" bson:"createdAt"`
	ModifiedAt    time.Time `json:"modifiedAt" bson:"modifiedAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL