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} }