From a48bcb7f9771a72b51c04fea2fb3df03a37421bd Mon Sep 17 00:00:00 2001 From: chenbinbin Date: Fri, 31 Mar 2023 08:56:08 +0800 Subject: [PATCH] =?UTF-8?q?Newstruct1=E4=BD=9C=E4=B8=BA=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=87=BD=E6=95=B0=EF=BC=8C=E5=BA=94=E4=BD=BF=E7=94=A8()?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E3=80=82=E4=BD=BF=E7=94=A8{}=E4=BC=9A?= =?UTF-8?q?=E6=8A=A5=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eBook/18.4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eBook/18.4.md b/eBook/18.4.md index c617e8284..3a1ddc5d4 100644 --- a/eBook/18.4.md +++ b/eBook/18.4.md @@ -22,7 +22,7 @@ ms := &struct1{10, 15.5, "Chris"} ```go -ms := Newstruct1{10, 15.5, "Chris"} +ms := Newstruct1(10, 15.5, "Chris") func Newstruct1(n int, f float32, name string) *struct1 { return &struct1{n, f, name} }