1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-28 15:21:23 +02:00

examples/client: Fix display of response status

This commit is contained in:
Adnan Maolood 2021-02-24 16:16:40 -05:00
parent 1da23ba07b
commit 867074d81b

@ -162,7 +162,7 @@ func main() {
log.Fatal(err)
}
} else {
fmt.Printf("%d %s\n", resp.Status, resp.Meta)
fmt.Printf("%d %s\n", resp.Status(), resp.Meta())
os.Exit(1)
}
}