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> |
||
|---|---|---|
| .. | ||
| database.go | ||
| database_race_test.go | ||
| database_test.go | ||
| hashrate.go | ||
| interface.go | ||
| interface_test.go | ||
| session.go | ||