From e1f2f23416419193d816061ef2648b5bc1388e14 Mon Sep 17 00:00:00 2001 From: xyxyn <136578601+xyxyn@users.noreply.github.com> Date: Sun, 2 Jul 2023 16:57:41 +0800 Subject: [PATCH] Update 12.11.md --- eBook/12.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eBook/12.11.md b/eBook/12.11.md index 2a6d3d242..96f026ddf 100644 --- a/eBook/12.11.md +++ b/eBook/12.11.md @@ -76,7 +76,7 @@ func main() { if err != nil { log.Fatal("decode error:", err) } - fmt.Printf("%q: {%d,%d}\n", q.Name, q.X, q.Y) + fmt.Printf("%q: {%d,%d}\n", q.Name, *q.X, *q.Y) } // Output: "Pythagoras": {3,4} ```