1
0
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:
Henri Koski 2021-08-12 17:16:31 +03:00 committed by GitHub
parent f978e42036
commit 33b3407777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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