Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rate ¶
type RateRepository ¶
type RateRepository struct {
// contains filtered or unexported fields
}
func NewRateRepository ¶
func NewRateRepository(db DB) *RateRepository
func (*RateRepository) Create ¶
func (r *RateRepository) Create(rate *Rate) error
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
func NewUserRepository ¶
func NewUserRepository(db DB) *UserRepository
func (*UserRepository) Create ¶
func (r *UserRepository) Create(user *User) error
func (*UserRepository) FindAll ¶
func (r *UserRepository) FindAll() ([]User, error)
Click to show internal directories.
Click to hide internal directories.