github.com/go-kivik/kivik/v4@v4.3.2/mockdb/gen/testdata/TestRenderDriverMethod_CreateDB (about)

     1  func (c *driverClient) CreateDB(ctx context.Context, arg0 string, options driver.Options) error {
     2  	expected := &ExpectedCreateDB{
     3  		arg0: arg0,
     4  		commonExpectation: commonExpectation{
     5  			options: options,
     6  		},
     7  
     8  	}
     9  	if err := c.nextExpectation(expected); err != nil {
    10  		return err
    11  	}
    12      if expected.callback != nil {
    13  		return expected.callback(ctx, arg0, options)
    14  	}
    15  	return expected.wait(ctx)
    16  }