chore(lint): gofmt single-space alignment in root_inference.go var block

When inferProviderTagRe was broadened to handle unsubstituted Sonarr token
placeholders ({TvdbId}/{imdb-}), the regex grew long enough that gofmt prefers
single-space rather than column-aligned spacing across the var block.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Silo Server Developer
2026-05-28 17:58:06 +02:00
co-authored by Claude Opus 4.7
parent fa839b6e37
commit 311fbd05dd
+1 -1
View File
@@ -21,7 +21,7 @@ var (
// Matches a well-formed tag ([tvdb-81189]), an unsubstituted Sonarr token
// ([tvdb-{TvdbId}]), or an empty token ({imdb-}). The id part is either a
// {...} placeholder or zero-or-more word chars.
inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`)
inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`)
)
type RootAssignment struct {