initial commit
This commit is contained in:
parent
9baa0fab25
commit
fc46164556
14 changed files with 243 additions and 0 deletions
10
internal/repositories/link.go
Normal file
10
internal/repositories/link.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package repositories
|
||||
|
||||
import (
|
||||
"context"
|
||||
"maot-shortner/internal/domain"
|
||||
)
|
||||
|
||||
type LinkRepository interface {
|
||||
GetLinks(ctx context.Context) ([]*domain.Link, error)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue