1
0
Fork 0
mirror of https://github.com/tmrts/go-patterns.git synced 2025-04-03 13:13:34 +03:00

creational/builder: fix wrong Paint fn name in Builder interface

This commit is contained in:
Mohamad Jahani 2019-04-23 02:53:32 +04:30 committed by GitHub
parent f978e42036
commit 23cc0ae36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ const (
)
type Builder interface {
Color(Color) Builder
Paint(Color) Builder
Wheels(Wheels) Builder
TopSpeed(Speed) Builder
Build() Interface