fix: format all Go files with gofmt
- 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:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user