Skip to content

Commit 887d172

Browse files
committed
[doc] Add alternatives for errors and noodle
1 parent af38595 commit 887d172

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

ROADMAP.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ From 0.0.9
2424
- [ ] explain internals of some implementation
2525
- [ ] (optional) extension for collecting errors using third party services
2626

27-
28-
2927
## Finished
3028

3129
### 0.0.12

errors/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ A error package that allows you to wrap/unwrap, multi error and inspect error
55
## Issues
66

77
- [#54](https://github.com/dyweb/gommon/issues/54) init
8-
-
98

109
## Implementation
1110

@@ -25,4 +24,9 @@ A error package that allows you to wrap/unwrap, multi error and inspect error
2524
- [hashicorp/go-multierror](doc/hashicorp-go-multierror.md)
2625
- [uber/multierr](doc/uber-multierr.md)
2726
- Wish we could tell if the append happened https://github.com/uber-go/multierr/issues/21
28-
- [ ] https://godoc.org/github.com/gorilla/securecookie#MultiError
27+
- [ ] https://godoc.org/github.com/gorilla/securecookie#MultiError
28+
29+
## References and Alternatives
30+
31+
- [golang/xerrors](https://github.com/golang/xerrors) Official error wrapping `fmt.Errorf("oh my %w", err)`
32+
- [rotisserie/eris](https://github.com/rotisserie/eris)

httpclient/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# HTTPClient
2+

noodle/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,8 @@ func main() {
5959
log.Fatal(http.ListenAndServe(addr, http.FileServer(root)))
6060
}
6161

62-
````
62+
````
63+
64+
## References and Alternatives
65+
66+
- [Proposal to add it to cmd/go](https://github.com/golang/go/issues/35950)

util/fsutil/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ func MkdirIfNotExists(path string) error {
3131
return errors.New("path to create dir is a file already: " + path)
3232
}
3333
return os.MkdirAll(path, DefaultDirPerm)
34-
}
34+
}

0 commit comments

Comments
 (0)