diff options
author | Félix Sipma <felix+debian@gueux.org> | 2019-11-23 20:49:18 +0100 |
---|---|---|
committer | Félix Sipma <felix+debian@gueux.org> | 2019-11-23 20:49:18 +0100 |
commit | b75e2eba23b61af62951c5a5fc45f3eb4ffe68f3 (patch) | |
tree | aa00eb410cd0f8f470823f6347ea3213283e93f0 /examples/minio/listenbucketnotification.go | |
parent | 70b5c53e64dae38106cf7e218cc99e6f493f12b9 (diff) |
New upstream version 6.0.43
Diffstat (limited to 'examples/minio/listenbucketnotification.go')
-rw-r--r-- | examples/minio/listenbucketnotification.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/minio/listenbucketnotification.go b/examples/minio/listenbucketnotification.go index 4c48510..a899c14 100644 --- a/examples/minio/listenbucketnotification.go +++ b/examples/minio/listenbucketnotification.go @@ -1,8 +1,8 @@ // +build ignore /* - * Minio Go Library for Amazon S3 Compatible Cloud Storage - * Copyright 2015-2017 Minio, Inc. + * MinIO Go Library for Amazon S3 Compatible Cloud Storage + * Copyright 2015-2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ package main import ( "log" - "github.com/minio/minio-go" + "github.com/minio/minio-go/v6" ) func main() { @@ -34,7 +34,7 @@ func main() { // New returns an Amazon S3 compatible client object. API compatibility (v2 or v4) is automatically // determined based on the Endpoint value. - minioClient, err := minio.New("play.minio.io:9000", "YOUR-ACCESS", "YOUR-SECRET", true) + minioClient, err := minio.New("play.min.io", "YOUR-ACCESS", "YOUR-SECRET", true) if err != nil { log.Fatalln(err) } |