diff options
author | Félix Sipma <felix+debian@gueux.org> | 2018-01-05 11:09:43 +0100 |
---|---|---|
committer | Félix Sipma <felix+debian@gueux.org> | 2018-01-05 11:09:43 +0100 |
commit | 2e53196f9027ebb270b9e9a251ad39383a500c8f (patch) | |
tree | 833d20440bfb8baa3995877e4af8ff90765d08f4 /docs/checker.go.template | |
parent | c7638802ac6c5efbe71dd2a58181ded9b52b8f32 (diff) |
New upstream version 4.0.5
Diffstat (limited to 'docs/checker.go.template')
-rw-r--r-- | docs/checker.go.template | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/checker.go.template b/docs/checker.go.template new file mode 100644 index 0000000..2e0f13a --- /dev/null +++ b/docs/checker.go.template @@ -0,0 +1,21 @@ +package main + +import ( + "fmt" + + "github.com/minio/minio-go" +) + +func main() { + // Use a secure connection. + ssl := true + + // Initialize minio client object. + minioClient, err := minio.New("play.minio.io:9000", "Q3AM3UQ867SPQQA43P2F", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", ssl) + if err != nil { + fmt.Println(err) + return + } + + {{.Text}} +} |