Working in PG datastore.
This commit is contained in:
parent
76d5264474
commit
1e283e7cd6
8 changed files with 210 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
package models
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
|
@ -25,6 +26,10 @@ type UsersService interface {
|
|||
List(opt *UserListOptions) ([]*User, error)
|
||||
}
|
||||
|
||||
var (
|
||||
ErrUserNotFound = errors.New("user not found")
|
||||
)
|
||||
|
||||
type usersService struct {
|
||||
client *Client
|
||||
}
|
||||
|
|
Reference in a new issue