Skip to content

Commit

Permalink
docs: Update readme to reflect changes in the API for the HTTPClient
Browse files Browse the repository at this point in the history
  • Loading branch information
randuck-dev committed Nov 11, 2023
1 parent d6c0aed commit 90e5099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is built purely for educational purposes as to get a deeper understanding f


```go
c, err := http.NewHttpClient("example.com:80")
c, err := http.NewHttpClient(http.TcpDialContext("example.com:80"))
if err != nil {
slog.Error("Error while creating http client", "err", err)
return
Expand Down

0 comments on commit 90e5099

Please sign in to comment.