Documentation
¶
Index ¶
- type MongoDBRepository
- func (mongo *MongoDBRepository) GetFullProfile(ctx context.Context, lang string) (fullProfile *models.FullProfile, err error)
- func (mongo *MongoDBRepository) GetJobs(ctx context.Context, lang string) ([]*models.Job, error)
- func (mongo *MongoDBRepository) GetProfile(ctx context.Context, lang string) (profile *models.Profile, err error)
- func (mongo *MongoDBRepository) GetProjects(ctx context.Context, lang string) ([]*models.Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBRepository ¶
type MongoDBRepository struct {
// contains filtered or unexported fields
}
func NewMongoDBRepository ¶
func NewMongoDBRepository(url string) (*MongoDBRepository, error)
func (*MongoDBRepository) GetFullProfile ¶
func (mongo *MongoDBRepository) GetFullProfile(ctx context.Context, lang string) (fullProfile *models.FullProfile, err error)
func (*MongoDBRepository) GetProfile ¶
func (*MongoDBRepository) GetProjects ¶
Click to show internal directories.
Click to hide internal directories.