...

Text file src/github.com/go-kivik/kivik/v4/mockdb/gen/testdata/TestRenderDriverMethod_No_context

Documentation: github.com/go-kivik/kivik/v4/mockdb/gen/testdata

     1func (c *driverClient) NoCtx(options driver.Options) error {
     2	expected := &ExpectedNoCtx{
     3		commonExpectation: commonExpectation{
     4			options: options,
     5		},
     6
     7	}
     8	if err := c.nextExpectation(expected); err != nil {
     9		return err
    10	}
    11    if expected.callback != nil {
    12		return expected.callback(options)
    13	}
    14	return expected.err
    15}

View as plain text