mirror of
https://github.com/restic/restic.git
synced 2024-09-06 19:39:26 +02:00
22 lines
427 B
Plaintext
22 lines
427 B
Plaintext
|
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}}
|
||
|
}
|