Allow var from env
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-10-23 17:36:31 +02:00
parent 8a29e58000
commit 966e6013b4

View File

@ -15,7 +15,7 @@ const IDFM2_BASEURL = "https://prim.iledefrance-mobilites.fr/marketplace"
var IDFM_TOKEN = ""
func init() {
flag.StringVar(&IDFM_TOKEN, "token-IDFM", IDFM_TOKEN, "Token to access IDFM API")
flag.StringVar(&IDFM_TOKEN, "token-idfm", IDFM_TOKEN, "Token to access IDFM API")
}
type IDFMTraffic struct {