fix: format all Go files with gofmt
All checks were successful
CI / lint (push) Successful in 9m54s
CI / test (push) Successful in 10m19s
CI / build (push) Successful in 9m58s
CI / docker (push) Has been skipped

- Fix alignment in struct fields (sessionProfileResponse, textureInfo, Handler)
- Align struct field values in internal/templates/templates.go, internal/api/api.go
This commit is contained in:
2026-05-30 20:00:54 +03:00
parent 8d1f956a8b
commit 4efcc770ac
8 changed files with 42 additions and 42 deletions

View File

@@ -52,11 +52,11 @@ type authenticateRequest struct {
}
type authenticateResponse struct {
AccessToken string `json:"accessToken"`
ClientToken string `json:"clientToken"`
AvailableProfile []profile `json:"availableProfiles"`
SelectedProfile *profile `json:"selectedProfile,omitempty"`
User *userProperties `json:"user,omitempty"`
AccessToken string `json:"accessToken"`
ClientToken string `json:"clientToken"`
AvailableProfile []profile `json:"availableProfiles"`
SelectedProfile *profile `json:"selectedProfile,omitempty"`
User *userProperties `json:"user,omitempty"`
}
type profile struct {
@@ -65,7 +65,7 @@ type profile struct {
}
type userProperties struct {
ID string `json:"id"`
ID string `json:"id"`
Properties []property `json:"properties"`
}
@@ -92,8 +92,8 @@ type errorResponse struct {
// Session server types (Mojang-compatible).
type sessionProfileResponse struct {
ID string `json:"id"`
Name string `json:"name"`
ID string `json:"id"`
Name string `json:"name"`
Props []sessionProfileProp `json:"properties"`
}