Skip to content

Status Field for Race Response#3

Open
ashleyjlive wants to merge 12 commits into
feat-ordering-filterfrom
feat-status_field
Open

Status Field for Race Response#3
ashleyjlive wants to merge 12 commits into
feat-ordering-filterfrom
feat-status_field

Conversation

@ashleyjlive

Copy link
Copy Markdown
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