package
Version:
v0.0.0-...-9831a62
Opens a new window with list of versions in this module.
Published: Oct 19, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Variables
-
type Service
-
func (s *Service) Create(ctx context.Context, userID string, title string) (*Tag, error)
-
func (s *Service) GetByTitle(ctx context.Context, userID string, title string) (*Tag, error)
-
func (s *Service) List(ctx context.Context, userID string, pageSize int, createdLT *time.Time) ([]*Tag, error)
-
type Tag
Service allows to manage tags resource.
NewService returns new tags service.
GetByTitle returns a tag by it's id.
List returns a list of user tags.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.