Docs: fix Go API example

Fix the indentation of the Go API example.
This commit is contained in:
Sybren A. Stüvel 2022-07-19 12:58:22 +02:00
parent ecfeaec4b2
commit fb0c8e9317

View File

@ -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)