https://github.com/rgglez/storage
go-storage wrapper
https://github.com/rgglez/storage
buckets cloud go go-storage golang storage
Last synced: about 1 year ago
JSON representation
go-storage wrapper
- Host: GitHub
- URL: https://github.com/rgglez/storage
- Owner: rgglez
- License: apache-2.0
- Created: 2024-07-01T21:20:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T23:39:12.000Z (over 1 year ago)
- Last Synced: 2025-02-14T00:30:30.966Z (over 1 year ago)
- Topics: buckets, cloud, go, go-storage, golang, storage
- Language: Go
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# storage
[](https://opensource.org/licenses/Apache-2.0)



[](https://goreportcard.com/report/github.com/rgglez/storage)
[](https://github.com/rgglez/storage/releases/)
This Go module encapsulates the [go-storage](https://github.com/rgglez/go-storage) library,
which makes transparent the storage and retrieval of files to and from a number of both
cloud services and local supports. A full list of supported backends can be
found in the go-storage [README](https://github.com/rgglez/go-storage/blob/master/README.md).
It provides 2 functions, one for writing and one for reading. It takes care of the boilerplate.
You need to provide the constructor ***NewStorage(cnn string)*** a connection string in the
go-storage format:
```go
cnn := "oss://bucket/?credential=env&endpoint=http://127.0.0.1:9090&name=bucket"
```
## License
Apache-2.0. Please read the [LICENSE](LICENSE) file.
Copyright (c) 2024 Rodolfo González González.