string, opts MakeBucketOptions) (err error) {
return c.makeBucket(ctx, bucketName, opts)
}
func (c...err = c.doMakeBucket(ctx, bucketName, opts.Region, opts.ObjectLocking)
最终调用了上述executeMethod方法:
func...(c *Client) doMakeBucket(ctx context.Context, bucketName string, location string, objectLockEnabled..., objectName, reader, size, opts)
}
return c.putObjectMultipart(ctx, bucketName, objectName,...reader, size, opts)
}
return c.putObjectMultipartStream(ctx, bucketName, objectName, reader,