doctor

package
v3.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() (err error)

Types

type DiagnosticResult

type DiagnosticResult struct {
	TestName string
	ErrorMsg string
	HelpURL  string
}

DiagnosticResult represents the result of a diagnostic test

func RunDiagnostics

func RunDiagnostics() []DiagnosticResult

RunDiagnostics executes all diagnostic tests for the current platform

type DiagnosticTest

type DiagnosticTest struct {
	Name    string
	Run     func() (bool, string) // Returns success and error message if failed
	HelpURL string
}

DiagnosticTest represents a single diagnostic test to be run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL