Skip to content

Commit d12a5a6

Browse files
committed
chore: update examples
1 parent fe8d98d commit d12a5a6

File tree

7 files changed

+100
-29
lines changed

7 files changed

+100
-29
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://goreportcard.com/report/github.com/goforj/storage"><img src="https://goreportcard.com/badge/github.com/goforj/httpx/v2" alt="Go Report Card"></a>
1717
<!-- test-count:embed:start -->
1818
<img src="https://img.shields.io/badge/unit_tests-26-brightgreen" alt="Unit tests (executed count)">
19-
<img src="https://img.shields.io/badge/integration_tests-78-blue" alt="Integration tests (executed count)">
19+
<img src="https://img.shields.io/badge/integration_tests-89-blue" alt="Integration tests (executed count)">
2020
<!-- test-count:embed:end -->
2121
</p>
2222

@@ -934,7 +934,7 @@ _Example: define local storage config_
934934

935935
```go
936936
cfg := localstorage.Config{
937-
Root: "/tmp/storage-local",
937+
Root: "/tmp/storage-local",
938938
Prefix: "sandbox",
939939
}
940940
```
@@ -943,7 +943,7 @@ _Example: define local storage config with all fields_
943943

944944
```go
945945
cfg := localstorage.Config{
946-
Root: "/tmp/storage-local",
946+
Root: "/tmp/storage-local",
947947
Prefix: "sandbox", // default: ""
948948
}
949949
```
@@ -1087,7 +1087,7 @@ New constructs local storage rooted at cfg.Root with an optional prefix.
10871087

10881088
```go
10891089
fs, _ := localstorage.New(localstorage.Config{
1090-
Root: "/tmp/storage-local",
1090+
Root: "/tmp/storage-local",
10911091
Prefix: "sandbox",
10921092
})
10931093
```

examples/manager_default/main.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

examples/redisstorage_config_define_redis_storage_config/main.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/redisstorage_config_define_redis_storage_config_with_all_fields/main.go

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/redisstorage_new/main.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/storage_move/main.go

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/storage_put/main.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)