Skip to content

Commit

Permalink
Merge pull request #4 from ArshiaDadras/main
Browse files Browse the repository at this point in the history
change engines names equal to the services itself
  • Loading branch information
pedy4000 authored Nov 23, 2024
2 parents 752870e + 57d80df commit 5afd62f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 43 deletions.
42 changes: 21 additions & 21 deletions services/eta/call_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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"
}
Expand Down
42 changes: 21 additions & 21 deletions services/matrix/call_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package version
import "fmt"

const (
Version = "v0.9.16"
Version = "v0.9.17"
UserAgentHeader = "User-Agent"
)

Expand Down

0 comments on commit 5afd62f

Please sign in to comment.