Fix README.md
This commit is contained in:
parent
c79a1f4484
commit
a691e3cc8b
@ -50,8 +50,7 @@ The default client loads known hosts from `$XDG_DATA_HOME/gemini/known_hosts`.
|
|||||||
If that is all you need, you can simply use the top-level `Send` function:
|
If that is all you need, you can simply use the top-level `Send` function:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Send uses the default client, which will load the default list of known
|
// Send uses the default client, which will load the default list of known hosts.
|
||||||
hosts.
|
|
||||||
req := gemini.NewRequest("gemini://example.com")
|
req := gemini.NewRequest("gemini://example.com")
|
||||||
gemini.Send(req)
|
gemini.Send(req)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user