mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -19,18 +19,18 @@ import (
|
||||
|
||||
// releaseListResponse is the top-level RAWG API response for game releases.
|
||||
type releaseListResponse struct {
|
||||
Count int `json:"count"`
|
||||
Results []releaseEntry `json:"results"`
|
||||
Count int `json:"count"`
|
||||
Results []releaseEntry `json:"results"`
|
||||
}
|
||||
|
||||
// releaseEntry is a game entry from the RAWG releases API.
|
||||
type releaseEntry struct {
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Released string `json:"released"`
|
||||
Rating float64 `json:"rating"`
|
||||
Metacritic int `json:"metacritic"`
|
||||
Platforms []struct {
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Released string `json:"released"`
|
||||
Rating float64 `json:"rating"`
|
||||
Metacritic int `json:"metacritic"`
|
||||
Platforms []struct {
|
||||
Platform struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"platform"`
|
||||
|
||||
Reference in New Issue
Block a user