mirror of
https://github.com/tmrts/go-patterns.git
synced 2024-11-22 13:06:09 +03:00
Fix builder interface to match example.
This commit is contained in:
parent
f978e42036
commit
33b3407777
@ -36,7 +36,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Builder interface {
|
type Builder interface {
|
||||||
Color(Color) Builder
|
Paint(Color) Builder
|
||||||
Wheels(Wheels) Builder
|
Wheels(Wheels) Builder
|
||||||
TopSpeed(Speed) Builder
|
TopSpeed(Speed) Builder
|
||||||
Build() Interface
|
Build() Interface
|
||||||
|
Loading…
Reference in New Issue
Block a user