mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -484,8 +484,6 @@ func wordleCategoryHint(category WordleCategory) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
// isValidWord checks if a word is valid, using the in-memory cache first,
|
||||
// then the custom allow-list, then DreamDict.
|
||||
// Returns (valid, apiError). apiError is true when the service is unreachable.
|
||||
@@ -545,7 +543,6 @@ func (p *WordlePlugin) fetchDefinition(answer string) string {
|
||||
return dictFetchDefinitionText(p.dict, answer, lang)
|
||||
}
|
||||
|
||||
|
||||
func (p *WordlePlugin) nextPuzzleNumber() int {
|
||||
d := db.Get()
|
||||
var count int
|
||||
@@ -842,4 +839,3 @@ func (p *WordlePlugin) rehydratePuzzles() {
|
||||
slog.Info("wordle: rehydrated puzzle", "room", roomID, "answer_len", pr.wordLength, "guesses", len(puzzle.Guesses))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user