diff --git a/r2/README.md b/r2/README.md index f49416f..3d12fb9 100644 --- a/r2/README.md +++ b/r2/README.md @@ -5,7 +5,7 @@ ## Usage ```go -import "https://github.com/creaplus/oss" +import "https://github.com/cassdor/oss" func main() { storage := r2.New(&r2.Config{{ diff --git a/r2/r2_test.go b/r2/r2_test.go index 2c1501f..4e4d8c4 100644 --- a/r2/r2_test.go +++ b/r2/r2_test.go @@ -9,11 +9,11 @@ import ( ) type Config struct { - AccountId string `env:"CREAPLUS_CF_R2_Account_ID"` - AccessKeyId string `env:"CREAPLUS_CF_R2_ACCESS_KEY_ID"` - AccessKeySecret string `env:"CREAPLUS_CF_R2_ACCESS_KEY_SECRET"` - Bucket string `env:"CREAPLUS_CF_R2_BUCKET"` - Endpoint string `env:"CREAPLUS_CF_R2_ENDPOINT"` + AccountId string `env:"CF_R2_Account_ID"` + AccessKeyId string `env:"CF_R2_ACCESS_KEY_ID"` + AccessKeySecret string `env:"CF_R2_ACCESS_KEY_SECRET"` + Bucket string `env:"CF_R2_BUCKET"` + Endpoint string `env:"CF_R2_ENDPOINT"` } var (