Documentation
¶
Index ¶
- type Link
- func (s *Link) Delete(ctx context.Context, link *m.Link) error
- func (s *Link) Get(ctx context.Context, from time.Time, limit int) ([]m.Link, error)
- func (s *Link) GetByID(ctx context.Context, id int64) (*m.Link, error)
- func (s *Link) GetByShort(ctx context.Context, short string) (*m.Link, error)
- func (s *Link) Insert(ctx context.Context, link *m.Link) error
- func (s *Link) Update(ctx context.Context, link *m.Link) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.