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