Skip to content

Commit aa3caa7

Browse files
committed
Update README
1 parent bc71e1b commit aa3caa7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,9 @@ req, reqErr := restclient.RequestBuilder().
222222

223223
`go-restclient` defines `restclient.RequestError` interface to cover all the errors that can be returned
224224
from `restclient.RequestBuilder.Build()` and result of the HTTP calls. The top level errors returned by the client can
225-
be seen in [errors.go](). The methods that can be used within the boundaries of `restclient.RequestError` are as
226-
follows:
225+
be seen
226+
in [errors.go](https://github.com/ysyesilyurt/go-restclient/blob/bc71e1bf147e9293635583edbca00e5db08dd7d5/restclient/errors.go#L9)
227+
. The methods that can be used within the boundaries of `restclient.RequestError` are as follows:
227228

228229
```
229230
type RequestError interface {
@@ -242,12 +243,14 @@ type RequestError interface {
242243

243244
## Legacy Version
244245

245-
You can also use the legacy version which is located on [`legacy` branch]() if you want to use `go-restclient` using
246+
You can also use the legacy version which is located
247+
on [`legacy` branch](https://github.com/ysyesilyurt/go-restclient/tree/legacy) if you want to use `go-restclient` using
246248
traditional ways (with constructing the helper objects and using those altogether blah blah...) or if you want to use a
247249
version that allows reusing the HTTP clients that's being used internally for sending the requests (Thanks to separation
248250
of these objects, this legacy version of `go-restclient` gives you the slightly extended feature set like _separation of
249-
client timeouts and request-specific timeouts_ and etc.). But all in all, I think the builder version is more handy and
250-
elegant so I just wanted to keep builder version on the master branch.
251+
client timeouts and request-specific timeouts_ and etc.). You can find more information about the version itself and its
252+
usage from [here](https://github.com/ysyesilyurt/go-restclient/tree/legacy#go-restclient-legacy-version). But all in all, I think the builder version is more handy and elegant so I just wanted to keep
253+
builder version on the master branch.
251254

252255
## Contribution
253256

0 commit comments

Comments
 (0)