Tesla/api/availability.go
Matthieu 'JP' DERASSE d7c8942421
All checks were successful
continuous-integration/drone/push Build is passing
feat(link): Add overview link
2023-06-05 20:35:55 +00:00

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&region=FR&referral=jon833", a.Model, a.Vin)
}