article

package
v0.0.0-...-dbbb3a2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleUseCase

type ArticleUseCase struct {
	ArticleDataService data_service.ArticleDataServiceInterface
}

func (*ArticleUseCase) Create

func (uc *ArticleUseCase) Create(title string, authorUsername string, content string) *model.Article

func (*ArticleUseCase) DeleteArticle

func (*ArticleUseCase) DeleteArticle()

func (*ArticleUseCase) Get

func (uc *ArticleUseCase) Get(id string) *model.Article

func (*ArticleUseCase) List

func (uc *ArticleUseCase) List() []*model.Article

func (*ArticleUseCase) Update

func (*ArticleUseCase) Update()

Jump to

Keyboard shortcuts

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