Compare commits

..

1 Commits

Author SHA1 Message Date
ffc7c1e89b Replaced Errors interface with concrete type Errors. 2021-08-13 14:59:07 +02:00

View File

@ -35,12 +35,11 @@ function Open(p string) (*File, error) {
**Errors**
An `Errors` interface that represents multiple errors (but still adheres to the `error` interface)
An `Errors` struct that represents multiple errors (but still adheres to the `error` interface)
```
type Errors interface {
error
Errs() []error
type Errors struct {
Errs []error
}
```