From 871dc781f1fd05f9e6f545d7d2be797d55109cba Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 16:48:10 +0100 Subject: [PATCH] ax(mining): replace prose GetType comment with usage example 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 fc5e72b..806582a 100644 --- a/pkg/mining/mining.go +++ b/pkg/mining/mining.go @@ -28,7 +28,7 @@ type Miner interface { GetStats(ctx context.Context) (*PerformanceMetrics, error) // Info operations - GetType() string // Returns miner type identifier (e.g., "xmrig", "tt-miner") + GetType() string // switch miner.GetType() { case "xmrig": ...; case "tt-miner": ... } GetName() string GetPath() string GetBinaryPath() string