ax(mining): replace prose Config comment with usage example
Some checks are pending
Test / test (push) Waiting to run
Security Scan / security (push) Successful in 30s

AX principle 2: comments must show usage with realistic values, not
restate what the type signature already says.

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 09:54:19 +01:00
parent 9a9be5be2f
commit 9664de2330
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -77,7 +77,7 @@ type SystemInfo struct {
InstalledMinersInfo []*InstallationDetails `json:"installed_miners_info"`
}
// Config represents the configuration for a miner.
// Config{Miner: "xmrig", Pool: "stratum+tcp://pool.example.com:3333", Wallet: "4ABC...", Threads: 4}
type Config struct {
Miner string `json:"miner"`
Pool string `json:"pool"`