update README.md

This commit is contained in:
mazj
2024-01-03 11:21:01 +08:00
parent 8de783a5ee
commit 04308f7f19
3 changed files with 13 additions and 2 deletions

View File

@ -7,7 +7,18 @@ Support For The Last MinIO Java Library
Usage:
```bash
//deps.edn
{com.mazhangjing/simple-minio-clj
{:git/url "https://github.com/corkine/simple-minio-clj.git"
:git/tag "8.5.7-1"}}
:git/sha "last-sha"}}
```
```clojure
(require 'minio)
(def c (minio/connect "URL" "AK" "SK"))
(minio/list-buckets c)
(minio/make-bucket c :test-bucket)
(minio/put-object c :test-bucket "deps.edn")
(minio/list-objects c :test-bucket)
(minio/remove-bucket! c :test-bucket)
```

View File

@ -1,2 +1,2 @@
{:src ["."]
{:src ["src"]
:deps {io.minio/minio {:mvn/version "8.5.7"}}}