repository

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectRepo

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

func NewProjectRepo

func NewProjectRepo(db *gorm.DB) *ProjectRepo

func (*ProjectRepo) Create

func (r *ProjectRepo) Create(project *models.Project) error

func (*ProjectRepo) Delete

func (r *ProjectRepo) Delete(project *models.Project) error

func (*ProjectRepo) GetById added in v1.0.6

func (r *ProjectRepo) GetById(Id int) (*models.Project, error)

func (*ProjectRepo) GetByToken added in v1.0.6

func (r *ProjectRepo) GetByToken(Token string) (*models.Project, error)

func (*ProjectRepo) GetByUserUuid added in v1.0.6

func (r *ProjectRepo) GetByUserUuid(userUuid uuid.UUID) ([]models.Project, error)

func (*ProjectRepo) Update

func (r *ProjectRepo) Update(project *models.Project) error

Jump to

Keyboard shortcuts

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