feat(link): Add overview link
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Matthieu 'JP' DERASSE
2023-06-05 20:35:55 +00:00
parent 1af7f0a506
commit d7c8942421
2 changed files with 14 additions and 3 deletions

8
api/availability.go Normal file
View File

@ -0,0 +1,8 @@
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)
}