Versions in this module Expand all Collapse all v1 v1.0.9 Sep 22, 2021 Changes in this version + var FixtureBasePath = filepath.Join(build.Default.GOPATH, "src", "github.com/fesiong/omise", "testdata/fixtures") + func AssertJSONEquals(t *testing.T, m1 map[string]interface{}, m2 map[string]interface{}) + func FixturePath(req *http.Request) (int, string, error) + func Keys() (string, string) + func LogObj(t *testing.T, obj interface{}) + func Main(m *testing.M) + func Require(t *testing.T, env string) + type FixturesTransport struct + func NewFixturesTransport() (*FixturesTransport, error) + func (transport *FixturesTransport) RoundTrip(req *http.Request) (*http.Response, error) + type RecorderTransport struct + func NewRecorderTransport() (*RecorderTransport, error) + func (transport *RecorderTransport) RoundTrip(req *http.Request) (*http.Response, error) + type TestClient struct + func NewFixedClient(t *testing.T) *TestClient + func NewTestClient(t *testing.T) *TestClient + func (tc *TestClient) MustDo(result interface{}, op core.Operation)