Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Field for Race Response #3

Open
wants to merge 12 commits into
base: feat-ordering-filter
Choose a base branch
from

Conversation

ashleyjlive
Copy link
Owner

Description

Provide a flag which indicates whether a race is open or closed.

racing.proto:
• Defined enum `Status` which reflects if a race is open or closed.
races.go:
• If the advertised start time is in the past, the race will be marked as "CLOSED", else, the race will indicate an "OPEN" status.
• Describe purpose of `status` response field.
• Added test case for status flag when returning race.
races.go:
• Obey guidelines for error messages (lowercase, no fullstops).
go.mod:
• Bump go version.
db.go:
• Remove deprecated package `ptypes.TimestampProto`.
• Detail the introduced status flag.
• Fixed invalid testType of "db" for races_test.
• Fixed compilation error due to changes to `racesRepo.Init()` changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant