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 | ||
| logging | ||
| mining | ||
| node | ||
| ueps | ||