summaryrefslogtreecommitdiff
path: root/docs/checker.go.template
diff options
context:
space:
mode:
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}}
+}