Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUserCancelled = errors.New("user cancelled")
Functions ¶
func ViewDiagnostics ¶
func ViewDiagnostics(diagnostics []stainless.BuildDiagnostic, maxDiagnostics int, oasPath, configPath string) string
ViewDiagnostics renders build diagnostics in Rust-style formatting. Notes are hidden by default. oasPath and configPath should be display paths, typically relative to the current working directory.
func ViewDiagnosticsError ¶
ViewDiagnosticsError renders an error when fetching diagnostics fails
Types ¶
type FetchDiagnosticsMsg ¶
type FetchDiagnosticsMsg []stainless.BuildDiagnostic
Click to show internal directories.
Click to hide internal directories.