Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ WriteDiagnostic
Method
WriteDiagnostic
diagnostic.go:166–166 ·
view source on GitHub ↗
(*Diagnostic)
Source
from the content-addressed store, hash-verified
164
// A DiagnosticWriter emits diagnostics somehow.
165
type
DiagnosticWriter
interface
{
166
WriteDiagnostic(*Diagnostic) error
167
WriteDiagnostics(Diagnostics) error
168
}
169
Callers
1
TestDiagnosticTextWriter
Function · 0.65
Implementers
2
diagnosticTextWriter
diagnostic_text.go
jsonDiagWriter
cmd/hcldec/diags_json.go
Calls
no outgoing calls
Tested by
1
TestDiagnosticTextWriter
Function · 0.52