style(go): reformat embedded GraphQL queries with consistent indentation

Normalize the AniList GraphQL query strings in AniListFunctions.go
and AniListUserFunctions.go so every operation uses the same
indentation scheme: two-space steps, field and nested selection sets
uniformly indented, and keywords/arguments spaced consistently
(query ($search: String!), relations {, startDate {, etc.). Also
break the AniListBrowse parameter list onto its own trailing
parameter line for readability.

The queries themselves are unchanged - this is whitespace-only
normalization of the raw string literals, done with the new
project-local Neovim setup (.nvim.lua) that formats embedded GraphQL
via prettier. No behavior change; queries return identical results.
This commit is contained in:
John O'Keefe
2026-09-24 13:50:31 -04:00
parent c0885a4bd5
commit 79022c04a8
2 changed files with 486 additions and 490 deletions
+11 -11
View File
@@ -179,18 +179,18 @@ func (a *App) GetAniListLoggedInUser() AniListUser {
Query string `json:"query"`
}{
Query: `
query {
Viewer {
id
name
avatar {
large
medium
query {
Viewer {
id
name
avatar {
large
medium
}
bannerImage
siteUrl
}
}
bannerImage
siteUrl
}
}
`,
}