mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-12-01 17:36:09 +03:00
6 lines
84 B
Go
6 lines
84 B
Go
|
package main
|
||
|
|
||
|
type VehicleFactory interface {
|
||
|
NewVehicle(v int) (Vehicle, error)
|
||
|
}
|