Documentation ¶
Index ¶
Constants ¶
View Source
const (
RECORD_COLLECTION = "records"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordRepository ¶
type RecordRepository struct {
// contains filtered or unexported fields
}
func NewRecordRepository ¶
func NewRecordRepository(db *mongo.Database) *RecordRepository
func (*RecordRepository) FindByUserIdAndId ¶
func (r *RecordRepository) FindByUserIdAndId(userId, id string) (*models.Record, error)
func (*RecordRepository) FindByUserIdAndPetId ¶
Click to show internal directories.
Click to hide internal directories.