Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostUsecase ¶
type PostUsecase interface { Create(param *post.Create) (*post.Post, error) List() ([]*post.Media, error) }
PostUsecase post usecase interface
func NewPostUsecase ¶
func NewPostUsecase(postRepo postRepo.PostRepository, photoRepo photoRepo.PhotoRepository) PostUsecase
NewPostUsecase mount post usecase
Click to show internal directories.
Click to hide internal directories.