add readme

This commit is contained in:
Byron Wang
2025-05-28 17:27:50 +08:00
parent fa1f47cd40
commit d6feb813fa
2 changed files with 26 additions and 20 deletions
+26
View File
@@ -1,2 +1,28 @@
# go-cloud-kit
A library and tools for open cloud development in Go.
```go
s, err := factory.Load("local", oss.OSSArgs{
Local: &oss.Local{
Path: "/local/path",
},
})
if err != nil {
return err
}
s.List("/object1")
```
## Installation
```
go get github.com/langgenius/dify-cloud-kit
```
## Available Blobs
-20
View File
@@ -1,20 +0,0 @@
package main
import (
"log"
"github.com/langgenius/dify-cloud-kit/oss"
"github.com/langgenius/dify-cloud-kit/oss/factory"
)
func main() {
s, err := factory.Load("local", oss.OSSArgs{
Local: &oss.Local{
Path: "/sdad1/13ad13",
},
})
if err != nil {
log.Panic(err)
}
s.List("/test1")
}