123456789101112 |
- package interfaces
- import (
- "context"
- "git.dmitriygnatenko.ru/dima/dmitriygnatenko-v2/internal/models"
- )
- type UserRepository interface {
- Get(ctx context.Context, username string) (*models.User, error)
- Add(ctx context.Context, username string, password string) (int, error)
- }
|