summaryrefslogtreecommitdiff
path: root/docs/checker.go.template
diff options
context:
space:
mode:
authorFélix Sipma <felix+debian@gueux.org>2018-01-05 11:09:44 +0100
committerFélix Sipma <felix+debian@gueux.org>2018-01-05 11:09:44 +0100
commit9aa20edb43ab70f1865d4d1ae680939faa46c8b7 (patch)
tree66742c50531fcce59814c2e55f8fa1f0a2e5463f /docs/checker.go.template
parentfd69b3bb0c26856d0938842c0e4e7d3ff959ca3d (diff)
parent2e53196f9027ebb270b9e9a251ad39383a500c8f (diff)
Update upstream source from tag 'upstream/4.0.5'
Update to upstream version '4.0.5' with Debian dir fc9f5488be66217572c92dce9419d3a3fba2cc24
Diffstat (limited to 'docs/checker.go.template')
-rw-r--r--docs/checker.go.template21
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}}
+}