Commit Graph

12 Commits

Author SHA1 Message Date
Houmgaor
c64dabc3ba fix: check all Close() return values for errcheck lint
Add explicit error discards (_ =) for Close() calls on network
connections, SQL rows, and file handles across 28 files. Also add
.golangci.yml with standard linter defaults to match CI configuration.
2026-02-17 23:57:14 +01:00
Houmgaor
47f7a1f636 fix(channelserver): handle bare Exec errors and filter expected ErrNoRows
138 bare db.Exec calls across 22 handler files silently dropped write
errors. Each is now wrapped with error check and zap logging.

4 QueryRow sites that legitimately return sql.ErrNoRows during normal
operation (new player mezfes, festa rankings, empty guild item box)
now filter it out to reduce log noise.
2026-02-17 23:33:44 +01:00
Houmgaor
46bbb6adf9 fix: resolve all remaining lint errors (errcheck) across 49 files
Fix unchecked error returns on bf.Seek(), db.Exec(), QueryRow().Scan(),
pkt.Build(), logger.Sync(), and binary.Write() calls. The linter now
passes with 0 errors, build compiles, and all tests pass with -race.
2026-02-17 18:07:38 +01:00
wish
2f8d09b09e more GuildTresure optimisation 2023-10-24 21:21:21 +11:00
wish
e688fdf3c5 more GuildTresure optimisation 2023-10-17 00:35:06 +11:00
wish
bf44944884 more GuildTresure optimisation 2023-10-14 14:14:28 +11:00
wish
7194cdbc07 optimise GuildTresure handlers 2023-10-12 23:54:35 +11:00
wish
94f9174afa change Airou struct definition & remove airoulist.bin 2023-10-12 23:27:54 +11:00
wish
e811dd1274 initial time fix 2023-03-04 21:43:10 +11:00
wish
cc76e689f6 hacky fix for nil rows on treasureHuntUnregister 2023-02-16 22:58:57 +11:00
wish
872a0b3785 treasure expiration and prevent overflow 2022-08-04 03:04:42 +10:00
wish
2c0e7a5267 repository cleanup 2022-07-29 03:25:23 +10:00