Skip to content
forked from minio/minio-go

Minimal object storage library for the Go programming language

License

Notifications You must be signed in to change notification settings

fkautz/minio-go

 
 

Repository files navigation

Minimal object storage library in Go Build Status

Install

$ go get github.com/minio/minio-go

Example

package main

import (
	"log"
	
	"github.com/minio/minio-go"
)

func main() {
	config := minio.Config{
		AccessKeyID:     "YOUR-ACCESS-KEY-HERE",
		SecretAccessKey: "YOUR-PASSWORD-HERE",
		Endpoint:        "https://s3.amazonaws.com",
	}
	s3Client, err := minio.New(config)
	if err != nil {
	    log.Fatalln(err)
	}
	for bucket := range s3Client.ListBuckets() {
		if bucket.Err != nil {
			log.Fatalln(bucket.Err)
		}
		log.Println(bucket.Stat)
	}
}

Documentation

API Reference

GoDoc

Join The Community

  • Community hangout on Gitter Gitter
  • Ask questions on Quora Quora

Contribute

Contributors Guide

About

Minimal object storage library for the Go programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%