Skip to content

Commit

Permalink
remove EOLed support this library supports from go1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Dec 7, 2021
1 parent cd84841 commit 500d1ce
Show file tree
Hide file tree
Showing 82 changed files with 80 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.15.x, 1.16.x, 1.17.x]
go-version: [1.16.x, 1.17.x]
os: [windows-latest]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.15.x, 1.16.x, 1.17.x]
go-version: [1.16.x, 1.17.x]
os: [ubuntu-latest]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

### Developer Guidelines

``minio-go`` welcomes your contribution. To make the process as seamless as possible, we ask for the following:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This document assumes that you have a working [Go development environment](https

## Download from Github
```sh
GO111MODULE=on go get github.com/minio/minio-go/v7
go get github.com/minio/minio-go/v7
```

## Initialize MinIO Client
Expand Down Expand Up @@ -115,7 +115,6 @@ func main() {

### Run FileUploader
```sh
export GO111MODULE=on
go run file-uploader.go
2016/08/13 17:03:28 Successfully created mymusic
2016/08/13 17:03:40 Successfully uploaded golden-oldies.zip of size 16253413
Expand Down
1 change: 1 addition & 0 deletions examples/minio/getbucketreplicationmetrics.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/minio/listen-notification.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/minio/listenbucketnotification.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/minio/putobjectsnowball.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/bucketexists.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/composeobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/copyobject-with-new-tags.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/copyobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/enableversioning.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/fgetobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/fputencrypted-object.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/fputobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/get-encrypted-object.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketencryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketlifecycle.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketnotification.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketpolicy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketreplication.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbuckettagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getbucketversioning.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobject-client-encryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobjectacl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobjectlegalhold.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobjectlockconfig.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobjectretention.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/getobjecttagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/healthcheck.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listbuckets.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listincompleteuploads.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listobjects-N.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listobjects.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listobjectsV2.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listobjectsV2WithMetadata.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/listobjectversions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/makebucket.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/presignedgetobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/presignedheadobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/presignedpostpolicy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/presignedputobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/put-encrypted-object.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-client-encryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-getobject-sse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-progress.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-s3-accelerate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-streaming.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject-with-tags.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobjectlegalhold.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobjectretention.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/putobjecttagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removeallbucketnotification.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removebucket.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removebucketencryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removebucketreplication.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removebuckettagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removeincompleteupload.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removeobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removeobjects.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/removeobjecttagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/restoreobject-select.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/restoreobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/selectobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbucketencryption.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbucketlifecycle.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbucketnotification.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbucketpolicy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbucketreplication.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setbuckettagging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/setobjectlockconfig.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/statobject.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
1 change: 1 addition & 0 deletions examples/s3/suspendversioning.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build example
// +build example

/*
Expand Down
Loading

0 comments on commit 500d1ce

Please sign in to comment.