You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ If the request could be made but the response status code was not `2xx` an error
8
8
9
9
## Example
10
10
```go
11
-
import"github.com/fastbill/go-request"
11
+
import"github.com/fastbill/go-request/v2"
12
12
13
13
typeInputstruct {
14
14
RequestValuestring`json:"requestValue"`
@@ -104,4 +104,4 @@ defer func() {
104
104
result:= &Output{}
105
105
err = json.NewDecoder(res.Body).Decode(result)
106
106
```
107
-
This shows the request package saves a lot of boilerplate code. instead of around 35 lines we just write the 9 lines shown in the example. That way the code is much easier to read and maintain.
107
+
This shows the request package saves a lot of boilerplate code. instead of around 35 lines we just write the 9 lines shown in the example. That way the code is much easier to read and maintain.
0 commit comments