chore: moved mock data to internal package

This commit is contained in:
Felipe Martin Garcia 2022-08-07 08:29:35 +02:00
parent 0838efd4fe
commit 0cf15e589a
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
3 changed files with 3 additions and 1 deletions

View File

@ -5,9 +5,11 @@ import (
"io"
"net/url"
"github.com/fmartingr/bazaar/pkg/clients/mockdata"
"github.com/fmartingr/bazaar/internal/mockdata"
)
// MockClient A simple client used for test the shops which will load an HTML from the mockdata present
// in this same package based on the requested host.
type MockClient struct{}
func (c MockClient) Get(urlString string) (io.Reader, error) {