-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Igor Polyakov
committed
Jun 18, 2024
1 parent
bbcb04b
commit bf4c47d
Showing
21 changed files
with
330 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package db | ||
|
||
import openapi_types "github.com/oapi-codegen/runtime/types" | ||
|
||
type Result struct { | ||
Id int `db:"id"` | ||
TeamId string `db:"team_id"` | ||
GameId string `db:"game_id"` | ||
Score int `db:"score"` | ||
Rank int `db:"rank"` | ||
Id openapi_types.UUID `db:"id"` | ||
TeamId string `db:"team_id"` | ||
GameId string `db:"game_id"` | ||
Score int `db:"score"` | ||
Rank int `db:"rank"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package db | ||
|
||
import openapi_types "github.com/oapi-codegen/runtime/types" | ||
|
||
type Service struct { | ||
Id int `db:"id"` | ||
Name string `db:"name"` | ||
Author string `db:"author"` | ||
LogoUrl string `db:"logo_url"` | ||
Description string `db:"description"` | ||
IsPublic bool `db:"is_public"` | ||
Id openapi_types.UUID `db:"id"` | ||
Name string `db:"name"` | ||
Author string `db:"author"` | ||
LogoUrl string `db:"logo_url"` | ||
Description string `db:"description"` | ||
IsPublic bool `db:"is_public"` | ||
} |
Oops, something went wrong.