post_ex

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type PostExRepository

type PostExRepository struct {
	RepositoryParams
}

func (PostExRepository) FindByFilter

func (PostExRepository) FindByFilterWithLanguage

func (r PostExRepository) FindByFilterWithLanguage(ctx context.Context, filter *repository.FindByFilterPostData, lngID uint) ([]entity.PostEx, error)

func (PostExRepository) FindByID

func (r PostExRepository) FindByID(ctx context.Context, id uint) (*entity.PostEx, error)

func (PostExRepository) FindByIDWithLanguage

func (r PostExRepository) FindByIDWithLanguage(ctx context.Context, id uint, lngID uint) (*entity.PostEx, error)

func (PostExRepository) FindBySlug

func (r PostExRepository) FindBySlug(ctx context.Context, slug string) (*entity.PostEx, error)

func (PostExRepository) FindBySlugWithLanguage

func (r PostExRepository) FindBySlugWithLanguage(ctx context.Context, slug string, lngID uint) (*entity.PostEx, error)

type RepositoryParams

type RepositoryParams struct {
	fx.In

	PostRepository     repository.PostRepository
	PostL10nRepository repository.PostL10nRepository
}

Jump to

Keyboard shortcuts

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