Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinksService ¶
type LinksService struct {
// contains filtered or unexported fields
}
service
func NewLinksService ¶
func NewLinksService(repo repository.Links) *LinksService
func (*LinksService) CreateLink ¶
func (l *LinksService) CreateLink(originLink string) (string, error)
methods
func (*LinksService) RemoveLink ¶
func (l *LinksService) RemoveLink(id int) error
type Service ¶
type Service struct {
Links
}
func NewService ¶
func NewService(repos *repository.Repository) *Service
Click to show internal directories.
Click to hide internal directories.