Docs: fix Go API example
Fix the indentation of the Go API example.
This commit is contained in:
parent
ecfeaec4b2
commit
fb0c8e9317
@ -146,9 +146,9 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
client, err := api.NewClientWithResponses("http://localhost:8080")
|
client, err := api.NewClientWithResponses("http://localhost:8080")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
resp, err := client.GetVersionWithResponse(ctx)
|
resp, err := client.GetVersionWithResponse(ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user