Documentation
¶
Index ¶
- type LinkRepository
- func (d *LinkRepository) All(ctx context.Context) ([]domain.Link, error)
- func (d *LinkRepository) Create(ctx context.Context, link domain.Link) error
- func (d *LinkRepository) Delete(ctx context.Context, id string) error
- func (d *LinkRepository) Get(ctx context.Context, id string) (domain.Link, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkRepository ¶
type LinkRepository struct {
// contains filtered or unexported fields
}
func NewLinkRepository ¶
func NewLinkRepository(ctx context.Context, tableName string) *LinkRepository
Click to show internal directories.
Click to hide internal directories.