bridges

package
v0.0.0-...-04c0be3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserCharacterFruitRepository

func NewUserCharacterFruitRepository(db *gorm.DB) bridges.UserCharacterFruitRepository

func NewUserCharacterRepository

func NewUserCharacterRepository(db *gorm.DB) bridges.UserCharacterRepository

func NewUserDailyQuestRepository

func NewUserDailyQuestRepository(db *gorm.DB) bridges.UserDailyQuestRepository

func NewUserQuizRepository

func NewUserQuizRepository(db *gorm.DB) bridges.UserQuizRepository

func NewUserRewardRepository

func NewUserRewardRepository(db *gorm.DB) bridges.UserRewardRepository

func NewUserTaskRepository

func NewUserTaskRepository(db *gorm.DB) bridges.UserTaskRepository

Types

type UserCharacterFruitRepository

type UserCharacterFruitRepository struct {
	// contains filtered or unexported fields
}

func (*UserCharacterFruitRepository) CreateOne

func (*UserCharacterFruitRepository) DeleteOne

func (r *UserCharacterFruitRepository) DeleteOne(ctx context.Context, userCharacterFruitId uuid.UUID) error

func (*UserCharacterFruitRepository) GetAllByUserCharacter

func (r *UserCharacterFruitRepository) GetAllByUserCharacter(ctx context.Context, userId uuid.UUID, characterId uuid.UUID) ([]*bridges.UserCharacterFruit, error)

func (*UserCharacterFruitRepository) GetMany

func (*UserCharacterFruitRepository) GetOne

func (UserCharacterFruitRepository) UpdateOne

func (r UserCharacterFruitRepository) UpdateOne(ctx context.Context, userCharacterFruitId uuid.UUID, updateData map[string]interface{}) (*bridges.UserCharacterFruit, error)

type UserCharacterRepository

type UserCharacterRepository struct {
	// contains filtered or unexported fields
}

func (*UserCharacterRepository) CreateOne

func (r *UserCharacterRepository) CreateOne(ctx context.Context, user_character *bridges.UserCharacter) (*bridges.UserCharacter, error)

func (*UserCharacterRepository) DeleteOne

func (r *UserCharacterRepository) DeleteOne(ctx context.Context, userCharacterId uuid.UUID) error

func (*UserCharacterRepository) GetAllByUser

func (r *UserCharacterRepository) GetAllByUser(ctx context.Context, userId uuid.UUID) ([]*bridges.UserCharacter, error)

func (*UserCharacterRepository) GetMany

func (*UserCharacterRepository) GetOne

func (r *UserCharacterRepository) GetOne(ctx context.Context, userCharacterId uuid.UUID) (*bridges.UserCharacter, error)

func (UserCharacterRepository) UpdateOne

func (r UserCharacterRepository) UpdateOne(ctx context.Context, userCharacterId uuid.UUID, updateData map[string]interface{}) (*bridges.UserCharacter, error)

type UserDailyQuestRepository

type UserDailyQuestRepository struct {
	// contains filtered or unexported fields
}

func (*UserDailyQuestRepository) CreateOne

func (r *UserDailyQuestRepository) CreateOne(ctx context.Context, user_daily_quest *bridges.UserDailyQuest) (*bridges.UserDailyQuest, error)

func (*UserDailyQuestRepository) DeleteOne

func (r *UserDailyQuestRepository) DeleteOne(ctx context.Context, userDailyQuestId uuid.UUID) error

func (*UserDailyQuestRepository) GetAllByUser

func (r *UserDailyQuestRepository) GetAllByUser(ctx context.Context, userId uuid.UUID) ([]*bridges.UserDailyQuest, error)

func (*UserDailyQuestRepository) GetMany

func (*UserDailyQuestRepository) GetOne

func (r *UserDailyQuestRepository) GetOne(ctx context.Context, userDailyQuestId uuid.UUID) (*bridges.UserDailyQuest, error)

func (UserDailyQuestRepository) UpdateOne

func (r UserDailyQuestRepository) UpdateOne(ctx context.Context, userDailyQuestId uuid.UUID, updateData map[string]interface{}) (*bridges.UserDailyQuest, error)

type UserQuizRepository

type UserQuizRepository struct {
	// contains filtered or unexported fields
}

func (*UserQuizRepository) CreateOne

func (r *UserQuizRepository) CreateOne(ctx context.Context, user_quiz *bridges.UserQuiz) (*bridges.UserQuiz, error)

func (*UserQuizRepository) DeleteOne

func (r *UserQuizRepository) DeleteOne(ctx context.Context, userQuizId uuid.UUID) error

func (*UserQuizRepository) GetAllByUser

func (r *UserQuizRepository) GetAllByUser(ctx context.Context, userId uuid.UUID) ([]*bridges.UserQuiz, error)

func (*UserQuizRepository) GetMany

func (r *UserQuizRepository) GetMany(ctx context.Context) ([]*bridges.UserQuiz, error)

func (*UserQuizRepository) GetOne

func (r *UserQuizRepository) GetOne(ctx context.Context, userQuizId uuid.UUID) (*bridges.UserQuiz, error)

func (UserQuizRepository) UpdateOne

func (r UserQuizRepository) UpdateOne(ctx context.Context, userQuizId uuid.UUID, updateData map[string]interface{}) (*bridges.UserQuiz, error)

type UserRewardRepository

type UserRewardRepository struct {
	// contains filtered or unexported fields
}

func (*UserRewardRepository) CreateOne

func (r *UserRewardRepository) CreateOne(ctx context.Context, user_reward *bridges.UserReward) (*bridges.UserReward, error)

func (*UserRewardRepository) DeleteOne

func (r *UserRewardRepository) DeleteOne(ctx context.Context, userRewardId uuid.UUID) error

func (*UserRewardRepository) GetAllByUser

func (r *UserRewardRepository) GetAllByUser(ctx context.Context, userId uuid.UUID) ([]*bridges.UserReward, error)

func (*UserRewardRepository) GetMany

func (*UserRewardRepository) GetOne

func (r *UserRewardRepository) GetOne(ctx context.Context, userRewardId uuid.UUID) (*bridges.UserReward, error)

func (UserRewardRepository) UpdateOne

func (r UserRewardRepository) UpdateOne(ctx context.Context, userRewardId uuid.UUID, updateData map[string]interface{}) (*bridges.UserReward, error)

type UserTaskRepository

type UserTaskRepository struct {
	// contains filtered or unexported fields
}

func (*UserTaskRepository) CreateOne

func (r *UserTaskRepository) CreateOne(ctx context.Context, user_task *bridges.UserTask) (*bridges.UserTask, error)

func (*UserTaskRepository) DeleteOne

func (r *UserTaskRepository) DeleteOne(ctx context.Context, userTaskId uuid.UUID) error

func (*UserTaskRepository) GetAllByUser

func (r *UserTaskRepository) GetAllByUser(ctx context.Context, userId uuid.UUID) ([]*bridges.UserTask, error)

func (*UserTaskRepository) GetMany

func (r *UserTaskRepository) GetMany(ctx context.Context) ([]*bridges.UserTask, error)

func (*UserTaskRepository) GetOne

func (r *UserTaskRepository) GetOne(ctx context.Context, userTaskId uuid.UUID) (*bridges.UserTask, error)

func (UserTaskRepository) UpdateOne

func (r UserTaskRepository) UpdateOne(ctx context.Context, userTaskId uuid.UUID, updateData map[string]interface{}) (*bridges.UserTask, error)

Jump to

Keyboard shortcuts

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