Convert "X returns the Y" / "X holds Y" / "X represents Y" style comments to concrete usage examples across database/, logging/, and mining/ packages. Comments now show how to call the function with realistic values instead of restating what the signature already says. Co-Authored-By: Charon <charon@lethean.io>
12 lines
231 B
Go
12 lines
231 B
Go
//go:build windows
|
|
|
|
package mining
|
|
|
|
import (
|
|
"forge.lthn.ai/Snider/Mining/pkg/logging"
|
|
)
|
|
|
|
// logToSyslog("miner started: xmrig") // falls back to logging.Info on Windows
|
|
func logToSyslog(message string) {
|
|
logging.Info(message)
|
|
}
|