doc: cleanup and improve for recently moved pkgs (#354)

* chore(atomicx): review docs and add usage example

* chore(fsx): improve docs, return value, add examples

* fix(kvstore): correct typo and add example

* fix(multierror): add basic example

* doc: revamp ooapi documentation
This commit is contained in:
Simone Basso 2021-06-04 11:39:00 +02:00 committed by GitHub
commit acd4ffff35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 172 additions and 26 deletions

View file

@ -57,7 +57,9 @@ run `go mod tidy` to minimize such changes.
## Implementation requirements
Please, use `./internal/atomicx` rather than `atomic/sync`.
- use `./internal/atomicx` rather than `atomic/sync`
- use `./internal/fsx.OpenFile` when you need to open a file
Do now use `os/exec`, use `x/sys/execabs`.