diff --git a/creational/builder.md b/creational/builder.md index e19179e..02e9217 100644 --- a/creational/builder.md +++ b/creational/builder.md @@ -51,7 +51,7 @@ type Interface interface { ## Usage ```go -assembly := car.NewBuilder().Paint(car.RedColor) +assembly := car.NewBuilder().Color(car.RedColor) familyCar := assembly.Wheels(car.SportsWheels).TopSpeed(50 * car.MPH).Build() familyCar.Drive()