func CreateAuthKey(w http.ResponseWriter, r *http.Request) {
	credentials := models.Auth{Credential: config.AUTHKEY}
	toJSON, _ := json.Marshal(credentials)
	enableCors(&w, r)
	fmt.Println("Key Generated.")
	w.Write(toJSON)
}
//Generate a key in order to sent the requests
Generate a key in order to sent the requests
// Generate a key in order to sent the requests
func CreateAuthKey(w http.ResponseWriter, r *http.Request) {
	credentials := models.Auth{Credential: config.AUTHKEY}
	toJSON, _ := json.Marshal(credentials)
	enableCors(&w, r)
	fmt.Println("Key Generated.")
	w.Write(toJSON)
}
func CreateAuthKey ( w http . ResponseWriter , r * http . Request ) { credentials := models . Auth { Credential : config . AUTHKEY } toJSON , _ := json . Marshal ( credentials ) enableCors ( & w , r ) fmt . Println ( " " ) w . Write ( toJSON ) }
Generate a key in order to sent the requests
Generate a key in order to sent the requests