From 9664de23303cea5c313de6cf2b1fa27b3fadc626 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 09:54:19 +0100 Subject: [PATCH] ax(mining): replace prose Config comment with usage example AX principle 2: comments must show usage with realistic values, not restate what the type signature already says. Co-Authored-By: Charon --- pkg/mining/mining.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mining/mining.go b/pkg/mining/mining.go index b553c8a..7d0872c 100644 --- a/pkg/mining/mining.go +++ b/pkg/mining/mining.go @@ -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"`