diaries

package
v0.0.0-...-cfa0982 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiariesRepositoriesInterface

type DiariesRepositoriesInterface interface {
	Create(*entity.UserDiary) error
	GetDiaryByID(int64, int64) *entity.UserDiary
	GetAllDiariesPagination(string, []int, int, int) (*[]entity.UserDiary, int, int)
	Update(int64, int64, *entity.UserDiary) error
	Delete(int64, int64) error
	CheckDiaryByDateUser(time.Time, int64) int
	GetDiaryByDateUser(time.Time, int64) *entity.UserDiary
}

type DiariesServicesInterface

type DiariesServicesInterface interface {
	Create(int64, *models.ReqCreateDiary) error
	Update(int64, int64, *models.ReqUpdateDiary) error
	Delete(int64, int64) error
	GetAllDiariesPagination(string, []int, int, int) *models.Pagination
	GetDiariesByID(int64, int64) *entity.UserDiary
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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