1package repository 2 3import "context" 4 5type ( 6 AuthRepository interface { 7 GetIDByUsername(ctx context.Context, username string) (uint, error) 8 GetPassword(ctx context.Context, id uint) ([]byte, error) 9 } 10)