Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PersonModel ¶
type PersonModel struct {
// contains filtered or unexported fields
}
func NewPersonModel ¶
func NewPersonModel(client *mongo.Client) *PersonModel
func (*PersonModel) Get ¶
func (m *PersonModel) Get(id string) (*models.Person, error)
This will return a specific person based on its id.
Click to show internal directories.
Click to hide internal directories.