9 lines
242 B
Go
9 lines
242 B
Go
package api
|
|
|
|
import "fmt"
|
|
|
|
// GetOrderLink give the link to order the car.
|
|
func (a *Availability) GetOrderLink() string {
|
|
return fmt.Sprintf("https://www.tesla.com/fr_FR/%s/order/%s?postal=59110®ion=FR&referral=jon833", a.Model, a.Vin)
|
|
}
|