Documentation ¶
Index ¶
- type SQLUserProvider
- func (up *SQLUserProvider) Create(ctx context.Context, u User) (User, error)
- func (up *SQLUserProvider) Delete(ctx context.Context, idString string) error
- func (up *SQLUserProvider) Get(ctx context.Context, idString string) (User, error)
- func (up SQLUserProvider) List(ctx context.Context, offset, limit int) ([]User, error)
- func (up *SQLUserProvider) Update(ctx context.Context, u User) error
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLUserProvider ¶
type SQLUserProvider struct {
// contains filtered or unexported fields
}
func NewSQLUserProvider ¶
func (*SQLUserProvider) Delete ¶
func (up *SQLUserProvider) Delete(ctx context.Context, idString string) error
Click to show internal directories.
Click to hide internal directories.