Documentation
¶
Index ¶
- type Example
- func (a *Example) Create(ctx context.Context, item schema.Example) error
- func (a *Example) Delete(ctx context.Context, UUID string) error
- func (a *Example) Get(ctx context.Context, UUID string, opts ...schema.ExampleQueryOptions) (*schema.Example, error)
- func (a *Example) Query(ctx context.Context, params schema.ExampleQueryParam, ...) (*schema.ExampleQueryResult, error)
- func (a *Example) Update(ctx context.Context, UUID string, item schema.Example) error
- func (a *Example) UpdateStatus(ctx context.Context, UUID string, status int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Example ¶
type Example struct {
// contains filtered or unexported fields
}
Example - Example storage
func NewExample ¶
NewExample - Create a Example storage instance
func (*Example) Get ¶
func (a *Example) Get(ctx context.Context, UUID string, opts ...schema.ExampleQueryOptions) (*schema.Example, error)
Get - Query specified data
func (*Example) Query ¶
func (a *Example) Query(ctx context.Context, params schema.ExampleQueryParam, opts ...schema.ExampleQueryOptions) (*schema.ExampleQueryResult, error)
Query - Query data
Click to show internal directories.
Click to hide internal directories.