Documentation ¶
Index ¶
- type MockProjectsUsecase
- func (uc *MockProjectsUsecase) Create(ctx context.Context, name, description, thumbnailURL, websiteURL string, ...) (*domain.Project, error)
- func (uc *MockProjectsUsecase) Get(ctx context.Context, id string) (*domain.Project, error)
- func (uc *MockProjectsUsecase) GetProjects(ctx context.Context) ([]*domain.Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProjectsUsecase ¶
type MockProjectsUsecase struct { CreateFn func(ctx context.Context, name, description, thumbnailURL, websiteURL string, live bool, tags []string, postId int32) (*domain.Project, error) GetFn func(ctx context.Context, id string) (*domain.Project, error) GetProjectsFn func(ctx context.Context) ([]*domain.Project, error) }
func (*MockProjectsUsecase) GetProjects ¶
Click to show internal directories.
Click to hide internal directories.