refactor: minor doc changes

This commit is contained in:
Rohan Verma
2019-12-11 13:54:46 +05:30
parent 9a5e82a977
commit aba89e779a
8 changed files with 21 additions and 13 deletions
+2 -1
View File
@@ -158,7 +158,8 @@ func (s3 *S3) getURL(bucket string, args ...string) (uri string) {
return
}
// SetEndpoint ...
// SetEndpoint can be used to the set a custom endpoint for
// using an alternate instance compatible with the s3 API.
func (s3 *S3) SetEndpoint(uri string) *S3 {
if len(uri) > 0 {
s3.Endpoint = uri