service

package
v0.0.0-...-6cba4bc Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URLService

type URLService interface {
	Create(original string) (*domain.URL, error)
}

type UrlService

type UrlService struct {
	// contains filtered or unexported fields
}

func NewUrlService

func NewUrlService(repo repository.URLRepository) *UrlService

func (*UrlService) Create

func (s *UrlService) Create(original string) (*domain.URL, error)

Jump to

Keyboard shortcuts

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