Registry / cloud / minio-minio-go-v7

minio-minio-go-v7

JSON →
library7.2.0gogounverified

A Go client library for interacting with MinIO and Amazon S3 compatible object storage services.

go get github.com/minio/minio-go/v7
INSTALL
IMPORT
SIG · MINIO-MINIO-GO-V7
M
minio-minio-go-v7
cloudgov7.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

minio
github.com/minio/minio-go/v7

List all buckets using MinIO client.

package main import ( "context" "log" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { client, err := minio.New("play.min.io", &minio.Options{ Creds: credentials.NewStaticV4("Q3AM3UQ867SPQQA43P2F", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", ""), }) if err != nil { log.Fatal(err) } buckets, err := client.ListBuckets(context.Background()) if err != nil { log.Fatal(err) } for _, b := range buckets { log.Println(b.Name) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
7.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
minio-minio-go-v7 — go get minio-minio-go-v7 · libregistry