Documentation ¶
Index ¶
- Constants
- func InvalidValidTagWithoutName() *tags.Tag
- func ValidCompleteTag() *tags.Tag
- func ValidTagWithoutDescription() *tags.Tag
- func ValidTags() []tags.Tag
- type Repository
- func (_m *Repository) Delete(ctx context.Context, pk uuid.UUID, owner uuid.UUID) error
- func (_m *Repository) Get(ctx context.Context, pk uuid.UUID, owner uuid.UUID) (*tags.Tag, error)
- func (_m *Repository) Query(ctx context.Context, filters *rest.Query) ([]tags.Tag, error)
- func (_m *Repository) Save(ctx context.Context, tag *tags.Tag) error
Constants ¶
View Source
const ValidTagPayload = `{
"name": "a name",
"description":"a description"
}`
Variables ¶
This section is empty.
Functions ¶
func ValidCompleteTag ¶
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
Click to show internal directories.
Click to hide internal directories.