Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
MockClient Mock an HTTP client
func (*MockClient) Get ¶
func (m *MockClient) Get(url string, destination interface{}) error
Get Trigger a fake GET, with JSON
type MockGiphyAdapter ¶
type MockGiphyAdapter struct {
ErrorMode bool
}
MockGiphyAdapter Mock the Giphy adapter
func (MockGiphyAdapter) SearchForID ¶
func (m MockGiphyAdapter) SearchForID(s string) (string, error)
SearchForID Present to search
Click to show internal directories.
Click to hide internal directories.