Documentation ¶
Index ¶
- Constants
- type StockService
- type UserService
- func (s UserService) Create(ctx context.Context, user *models.User) (err error)
- func (s UserService) Delete(ctx context.Context, userId xid.ID) error
- func (s UserService) Get(ctx context.Context, userId xid.ID, dst *models.User) error
- func (s UserService) GetByEmail(ctx context.Context, email string, dst *models.User) error
- func (s UserService) List(ctx context.Context, set func(*models.User) error) (err error)
- func (s UserService) Put(ctx context.Context, user *models.User) error
- func (s UserService) SetPassword(ctx context.Context, password string, userId xid.ID) (err error)
Constants ¶
View Source
const (
// YFINURL = "https://query1.finance.yahoo.com"
YFINURL = "http://pokeapi.co/api/v2/pokedex/kanto/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StockService ¶
type StockService struct { Store stores.StockStore Validate *validator.Validate HTTPClient *http.Client }
type UserService ¶
func (UserService) GetByEmail ¶
func (UserService) SetPassword ¶
Click to show internal directories.
Click to hide internal directories.