From 57d80df53fb0d9a5413f1e0528d6a44fa13fb718 Mon Sep 17 00:00:00 2001 From: Arshia Dadras Date: Sat, 9 Nov 2024 14:40:45 +0330 Subject: [PATCH] change engines names equal to the services itself --- services/eta/call_options.go | 42 ++++++++++++++++----------------- services/matrix/call_options.go | 42 ++++++++++++++++----------------- version/version.go | 2 +- 3 files changed, 43 insertions(+), 43 deletions(-) diff --git a/services/eta/call_options.go b/services/eta/call_options.go index 5f8d064..abb8bb2 100644 --- a/services/eta/call_options.go +++ b/services/eta/call_options.go @@ -12,14 +12,14 @@ const ( EtaEngineOcelot EtaEngineOrca - EtaEngineAnt - EtaEngineHive - EtaEngineOlympus - EtaEngineCrew - EtaEnginePluck + EtaEngineMurche + EtaEngineKandoo + EtaEngineZeus + EtaEngineCarPooling + EtaEngineGolchin EtaEngineGiraffe - EtaEngineFork - EtaEnginePulse + EtaEngineFood + EtaEngineIntercity ) // String casts the engine enum to its string value. @@ -37,22 +37,22 @@ func (engine EtaEngine) String() string { case EtaEngineOrca: return "orca" - case EtaEngineAnt: - return "ant" - case EtaEngineHive: - return "hive" - case EtaEngineOlympus: - return "olympus" - case EtaEngineCrew: - return "crew" - case EtaEnginePluck: - return "pluck" + case EtaEngineMurche: + return "murche" + case EtaEngineKandoo: + return "kandoo" + case EtaEngineZeus: + return "zeus" + case EtaEngineCarPooling: + return "carpooling" + case EtaEngineGolchin: + return "golchin" case EtaEngineGiraffe: return "giraffe" - case EtaEngineFork: - return "fork" - case EtaEnginePulse: - return "pulse" + case EtaEngineFood: + return "food" + case EtaEngineIntercity: + return "intercity" } return "v1" } diff --git a/services/matrix/call_options.go b/services/matrix/call_options.go index b9f5ce8..d5715b2 100644 --- a/services/matrix/call_options.go +++ b/services/matrix/call_options.go @@ -11,14 +11,14 @@ const ( MatrixEngineOcelot MatrixEngineOrca - MatrixEngineAnt - MatrixEngineHive - MatrixEngineOlympus - MatrixEngineCrew - MatrixEnginePluck + MatrixEngineMurche + MatrixEngineKandoo + MatrixEngineZeus + MatrixEngineCarPooling + MatrixEngineGolchin MatrixEngineGiraffe - MatrixEngineFork - MatrixEnginePulse + MatrixEngineFood + MatrixEngineIntercity ) // String casts the engine enum to its string value. @@ -34,22 +34,22 @@ func (engine MatrixEngine) String() string { case MatrixEngineOrca: return "orca" - case MatrixEngineAnt: - return "ant" - case MatrixEngineHive: - return "hive" - case MatrixEngineOlympus: - return "olympus" - case MatrixEngineCrew: - return "crew" - case MatrixEnginePluck: - return "pluck" + case MatrixEngineMurche: + return "murche" + case MatrixEngineKandoo: + return "kandoo" + case MatrixEngineZeus: + return "zeus" + case MatrixEngineCarPooling: + return "carpooling" + case MatrixEngineGolchin: + return "golchin" case MatrixEngineGiraffe: return "giraffe" - case MatrixEngineFork: - return "fork" - case MatrixEnginePulse: - return "pulse" + case MatrixEngineFood: + return "food" + case MatrixEngineIntercity: + return "intercity" } return "v1" } diff --git a/version/version.go b/version/version.go index e3cd18b..b6d97e8 100644 --- a/version/version.go +++ b/version/version.go @@ -3,7 +3,7 @@ package version import "fmt" const ( - Version = "v0.9.16" + Version = "v0.9.17" UserAgentHeader = "User-Agent" )