mirror of https://github.com/fmartingr/bazaar.git
chore: moved mock data to internal package
This commit is contained in:
parent
0838efd4fe
commit
0cf15e589a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue