repository

package
v0.0.0-...-9b5dd32 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDb

func NewDb() *gorm.DB

Types

type Repository

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

func NewRepository

func NewRepository(logger *log.Logger, db *gorm.DB) *Repository

type UserRepository

type UserRepository interface {
	FirstById(id int64) (*model.User, error)
}

func NewUserRepository

func NewUserRepository(repository *Repository) UserRepository

Jump to

Keyboard shortcuts

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