Skip to content

Commit

Permalink
style: apply gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Mar 21, 2024
1 parent ee2a0a8 commit dd4d55e
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,29 +149,29 @@ type ApplicationInstallParams struct {
}

type ApplicationIntegrationTypeConfiguration struct {

Check failure on line 151 in structs.go

View workflow job for this annotation

GitHub Actions / lint

exported type `ApplicationIntegrationTypeConfiguration` should have comment or be unexported (golint)

Check failure on line 151 in structs.go

View workflow job for this annotation

GitHub Actions / lint

exported type `ApplicationIntegrationTypeConfiguration` should have comment or be unexported (golint)
OAuth2InstallParams ApplicationInstallParams `json:"oauth2_install_params"`
OAuth2InstallParams ApplicationInstallParams `json:"oauth2_install_params"`
}

// Application stores values for a Discord Application
type Application struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
Icon string `json:"icon,omitempty"`
Description string `json:"description,omitempty"`
RPCOrigins []string `json:"rpc_origins,omitempty"`
BotPublic bool `json:"bot_public,omitempty"`
BotRequireCodeGrant bool `json:"bot_require_code_grant,omitempty"`
TermsOfServiceURL string `json:"terms_of_service_url"`
PrivacyProxyURL string `json:"privacy_policy_url"`
Owner *User `json:"owner"`
Summary string `json:"summary"`
VerifyKey string `json:"verify_key"`
Team *Team `json:"team"`
GuildID string `json:"guild_id"`
PrimarySKUID string `json:"primary_sku_id"`
Slug string `json:"slug"`
CoverImage string `json:"cover_image"`
Flags int `json:"flags,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name"`
Icon string `json:"icon,omitempty"`
Description string `json:"description,omitempty"`
RPCOrigins []string `json:"rpc_origins,omitempty"`
BotPublic bool `json:"bot_public,omitempty"`
BotRequireCodeGrant bool `json:"bot_require_code_grant,omitempty"`
TermsOfServiceURL string `json:"terms_of_service_url"`
PrivacyProxyURL string `json:"privacy_policy_url"`
Owner *User `json:"owner"`
Summary string `json:"summary"`
VerifyKey string `json:"verify_key"`
Team *Team `json:"team"`
GuildID string `json:"guild_id"`
PrimarySKUID string `json:"primary_sku_id"`
Slug string `json:"slug"`
CoverImage string `json:"cover_image"`
Flags int `json:"flags,omitempty"`
IntegrationTypesConfig map[ApplicationIntegrationType]*ApplicationIntegrationTypeConfiguration `json:"integration_types"`
}

Expand Down

0 comments on commit dd4d55e

Please sign in to comment.