Mining/pkg/database
Claude c703bd9050
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
ax(batch): remove banned fmt import from all non-test source files
Replace fmt.Sprintf with string concatenation + strconv.Itoa/FormatInt.
Replace fmt.Errorf with project MiningError constructors (ErrStartFailed,
ErrInstallFailed, ErrInternal) and a new databaseError helper in pkg/database.
Leaves fmt in pkg/logging (it IS the logging package) and test files.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 18:00:44 +01:00
..
database.go ax(batch): remove banned fmt import from all non-test source files 2026-04-02 18:00:44 +01:00
database_race_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
database_test.go ax(database): rename TestInitialize_Disabled to TestDatabase_Initialize_Bad 2026-04-02 14:20:08 +01:00
hashrate.go ax(batch): remove banned fmt import from all non-test source files 2026-04-02 18:00:44 +01:00
interface.go ax(database): replace prose interface comments with usage examples 2026-04-02 14:22:42 +01:00
interface_test.go test: Add error path unit tests for context cancellation and cleanup 2025-12-31 13:04:20 +00:00
session.go refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00