repositories

package
v0.0.0-...-a5f9b48 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInfluencerRepository

func NewInfluencerRepository(db *gorm.DB) *influencerRepository

func NewUserRepository

func NewUserRepository(db *gorm.DB) *userRepository

Types

type InfluencerRepository

type InfluencerRepository interface {
	Create(e *entities.InfluencerEntity) (*entities.InfluencerEntity, error)
}

type UserRepository

type UserRepository interface {
	FindByID(id string) (*entities.UserEntity, error)
	Create(e *entities.UserEntity) (*entities.UserEntity, error)
}

Jump to

Keyboard shortcuts

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