Working in PG datastore.

This commit is contained in:
Matthew Dillon 2014-09-30 15:13:36 -08:00
parent 76d5264474
commit 1e283e7cd6
8 changed files with 210 additions and 1 deletions

View file

@ -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
}