Skip to content

Commit d20a6a4

Browse files
committed
doc: fixed a few hiccups in README and maintainers doc
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
1 parent 458c474 commit d20a6a4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ go get github.com/go-openapi/errors
2727
## Basic usage
2828

2929
```go
30+
const url = "https://www.example.com/#"
31+
32+
errGeneric := New(401,"onvalid argument: %s", url)
33+
34+
errNotFound := NotFound("resource not found: %s", url)
35+
36+
errNotImplemented := NotImplemented("method: %s", url)
3037
```
3138

3239
## Change log

docs/MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Standard documentation:
144144

145145
Reference documentation (released):
146146

147-
* [godoc](https://pkg.go/dev/go-openapi/errors)
147+
* [godoc](https://pkg.go.dev/github.com/go-openapi/errors)
148148

149149
## TODOs & other ideas
150150

0 commit comments

Comments
 (0)