mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-25 14:26:04 +03:00
6 lines
84 B
Go
6 lines
84 B
Go
|
package main
|
||
|
|
||
|
type VehicleFactory interface {
|
||
|
NewVehicle(v int) (Vehicle, error)
|
||
|
}
|