Documentation ¶
Index ¶
- type Example
- func (a *Example) Create(ctx context.Context, item schema.Example) (*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) (*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 ¶
Example - Sample program
func (*Example) Get ¶
func (a *Example) Get(ctx context.Context, UUID string, opts ...schema.ExampleQueryOptions) (*schema.Example, error)
Get - Get 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.